This commit is contained in:
Kovid Goyal 2025-12-12 19:42:52 +05:30
parent cdc1b8e01f
commit 2824f9cb1c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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.'''