更改win平台滚轮速度
This commit is contained in:
parent
18eec61c26
commit
f29bb3879f
|
@ -231,7 +231,7 @@ class Menu:
|
||||||
else:
|
else:
|
||||||
delta = setdelta
|
delta = setdelta
|
||||||
if sys.platform.startswith('win'):
|
if sys.platform.startswith('win'):
|
||||||
delta //= 120
|
delta //= 20
|
||||||
if delta > 0:
|
if delta > 0:
|
||||||
if (self.__real_y_move != 0):
|
if (self.__real_y_move != 0):
|
||||||
self.__y_move += delta
|
self.__y_move += delta
|
||||||
|
|
Loading…
Reference in New Issue