Closed ZaLiTHkA closed 2 weeks ago
This is merged into my fork at https://github.com/trullock/chartjs-plugin-zoom which is published on npm as @trullock/chartjs-plugin-zoom, as this fork seems abandoned
thanks @trullock, I'll try it out. I see your fork consolidates a fair amount of work from multiple PRs.. just out of curiosity, are you actively using it in one of your own projects as well?
I still think it would be nice to try get these changes into this root project, if possible.. this way the fixes and improvements could reach more users more easily, including your contributions.
so I'll leave this PR open for a little bit longer, just to see where this all goes. 👍🏼
Absolutely, you should leave this open.
I dont want to be maintaining a fork 🙈
I dont want to be maintaining a fork 🙈
yeah, completely understand that. it's definitely not a job for just anybody.. I only wish I had the time to even consider making commitments like that.
My fork works for me, thats all I'm guaranteeing! 😂
happy days! thanks @kurkle, looking forward to switching my package.json
back to the official package. 💯
this simply ensures that the custom
onZoomStart
handler is also executed when zooming is initiated with "pinch".there seems to be a fair difference in the logic structure between the
handlers.js
andhammer.js
files, so I tried to keep this in line with what I already saw inhammer.js
directly.I did not add any tests for this, though I feel like we probably should.. perhaps one of the repo maintainers could help determine where this test should go? I don't see any others that cover the "pinch" functionality specifically.
this follows on from PR #487, and fixes issues #631 and #790.