浏览代码

Consecutive mouse wheel events will be "double" events.

Margers 2 天之前
父节点
当前提交
19e38139ea
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 :