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

Add a zoom speed setting #16

Closed
huchenlei opened this issue Jul 9, 2024 · 1 comment
Closed

Add a zoom speed setting #16

huchenlei opened this issue Jul 9, 2024 · 1 comment

Comments

@huchenlei
Copy link
Member

Transferred from comfyanonymous/ComfyUI#3924

Feature Idea

My finger gets tired with this slow mouse wheel zoom speed, and yet I've also seen others who've had trouble with the zoom speed being too fast for them in the past, and so what this means is it really needs to be a configurable setting for each individual.

Existing Solutions

Luckily I figured out how to do it myself so this can serve as a guide for anyone who comes across it:

  • Open the file in a text editor: ComfyUI\web\lib\litegraph.core.js
  • Search for scale *= 1.1;
  • Replace the 1.1 with a larger number like 1.5 for a faster zooming in speed, or use a smaller number like 1.05 for a slower zooming in speed.
  • Two lines below that is the zooming out speed, which you'll also want to change: scale *= 1 / 1.1;, you can just replace this 1.1 with the same number as before.

But hopefully this can get added an official setting for better ease of use.

Other

No response

@webfiltered
Copy link
Collaborator

Resolved by #19 & is available as a frontend setting.

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

No branches or pull requests

2 participants