Browse Source

Consecutive mouse wheel events will be "double" events.

Margers 2 days ago
parent
commit
19e38139ea
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fv/src/drivers.inc

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

@@ -1449,6 +1449,7 @@ begin
              e.Buttons:=e.Buttons and( not word( MouseButton4 or MouseButton5)); {remove wheel buttons for Buttons}
              { do not temper with AutoTicks because other buttons can be held down while scrolling
              AutoTicks:=0;}  {there is no "holding down" mouse wheel }
+             LastDouble:=false; { consecutive mouse wheel events all will be double events }
            end;
          end;
        MouseActionUp :