Mouse wheel do not affect AutoTicks.

This commit is contained in:
Margers 2025-07-15 07:22:46 +00:00 committed by Michael Van Canneyt
parent c8f8d3a1d3
commit f7e0de1b11

View File

@ -1447,7 +1447,8 @@ begin
MouseButton5: Event.Wheel:=mwDown;
end;
e.Buttons:=e.Buttons and( not word( MouseButton4 or MouseButton5)); {remove wheel buttons for Buttons}
AutoTicks:=0; {there is no "holding down" mouse wheel }
{ do not temper with AutoTicks because other buttons can be held down while scrolling
AutoTicks:=0;} {there is no "holding down" mouse wheel }
end;
end;
MouseActionUp :