mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-02 15:21:57 -04:00
...
This commit is contained in:
parent
cdc1b8e01f
commit
2824f9cb1c
@ -305,7 +305,7 @@ class MomentumScroller:
|
||||
h_bar.setValue(h_bar.value() - int(scroll_x * self.settings.x_multiplier))
|
||||
|
||||
if scroll_y != 0 and v_bar:
|
||||
v_bar.setValue(v_bar.value() - int(scroll_y * self.settings.x_multiplier))
|
||||
v_bar.setValue(v_bar.value() - int(scroll_y * self.settings.y_multiplier))
|
||||
|
||||
def _stop_momentum(self):
|
||||
'''Stop momentum and reset state.'''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user