stable-diffusion-webui-forge icon indicating copy to clipboard operation
stable-diffusion-webui-forge copied to clipboard

Image zoom in/out by mouse wheel

Open Nelayme opened this issue 1 year ago • 1 comments

Hi,

After a couple of months of using another UI, I got back to Forge, updated it and realized that we can zoom in/out images in img2img tabs and subtabs by mouse wheel. Can you disable it please or enable it only whenever ctrl is pressed? It's so annoying when you wanna scroll down, you go over it and accidentally you zoom out the whole image, and then you try to put it back in the center. And that happens every single time. Ofc, it will take some time to memorize it and scroll up/down on the right side of the screen but please consider making it more friendly :)

Nelayme avatar Aug 25 '24 21:08 Nelayme

I found a workaround to disable it: go to webui\modules_forge\forge_canvas, open canvas.min.js in a text editor, replace the only occurence of wheel with anything else, for example wheel123. Then restart the UI. That stops it from intercepting the scrolling

direwolf420 avatar Sep 10 '24 16:09 direwolf420