Explorar o código

Mouse wheel do not affect AutoTicks.

Margers hai 1 mes
pai
achega
f7e0de1b11
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      packages/fv/src/drivers.inc

+ 2 - 1
packages/fv/src/drivers.inc

@@ -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 :