-
-
Notifications
You must be signed in to change notification settings - Fork 652
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
Disable zoom on dblclick #204
Labels
Comments
Since v1.0.0-beta.4 Disable zoom for dblclick: editor.on('zoom', ({ source }) => {
return source !== 'dblclick';
}); |
Thanks man!! |
Hey, is there a way to do this in v2? |
area.addPipe(context => {
if (context.type === 'zoom' && context.data.source === 'dblclick') return
return context
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The dblclick functionnality is very cool but in my case not practical. and a way to simply disable it would be soo cool. Since I have many inputs and often copy paste the content dblclick them always zoom the editor.
in
rete/src/view/zoom.js
Maybe a default var to disable or add a dbclick intensity that could be set to 0.
The text was updated successfully, but these errors were encountered: