Page 1 of 1

Mouse Wheel Tolerance

Posted: Mon Oct 11, 2021 9:10 pm
by teotoon
Hello Dear Scripters,

I use a modded transform layer script. I prefer to change the values of X and Y values by scrolling mouse wheel while the pointer is on the value box. Now I want to modify the increment so as the mouse wheel change less value in the value box, say 0.05 per wheel tick instead of 0.25.

Which lines should I change in the script text?

Thanks in advance,

LG

Re: Mouse Wheel Tolerance

Posted: Mon Oct 11, 2021 9:34 pm
by synthsin75
LM_TextControl:SetWheelInc(f)
https://mohoscripting.com/methods/320

You might need to add this to the existing text control box, as it might just be using the default. If it already exists, just change the argument value.

Re: Mouse Wheel Tolerance

Posted: Mon Oct 11, 2021 10:44 pm
by teotoon
Thanks a lot...