Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Pan and Zoom Methods from Element #15

Closed
simonreger opened this issue Jun 16, 2020 · 1 comment
Closed

Remove Pan and Zoom Methods from Element #15

simonreger opened this issue Jun 16, 2020 · 1 comment
Assignees

Comments

@simonreger
Copy link

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.

@michaschwab
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants