michaschwab/easypz

Remove Pan and Zoom Methods from Element

simonreger opened this issue · 1 comments

Hello,

is it possible to remove the Zoom and Pan Methods from Canvas Element while the Script is running? Cause at some point of zooming and scrolling i want to draw something on that Canvas without the Methode of Paning. After drawing i want to add the Paning Method to the Canvase Element.

Hi!
Thanks for your request. I added this a little while ago but apparently forgot to respond here!
EasyPZ now has a "removeHostListeners" function that removes the listeners. Does that solve your problem?
Best,
Micha