diff options
author | Marc Mondesir <timepilot3000@gmail.com> | 2024-10-25 11:40:46 -0700 |
---|---|---|
committer | Patrick Luby <guibomacdev@gmail.com> | 2024-11-08 17:45:15 +0100 |
commit | 85ec0b184ac0e803f1fd0778a3397231e2d3289a (patch) | |
tree | 2312b5dd4a772f8efd7c3f003ef3b4eb58812ffb /eventattacher | |
parent | dae9394768f217cde1ad0bfc1604f32a31882960 (diff) |
tdf#163582: Fix scrolling distance increasing geometrically.
New scroll distance was previous distance multiplied by speed factor, but distance was not reset to base values when mouse not moved (or outside app window on some platforms), resulting in continuous multiply amplification. Break out base scroll values to separate variables to prevent multiply feedback. Add comments to help future code maintenance.
Change-Id: If11baff3b25521abce7436b44aaf8e6a19e54f45
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175657
Tested-by: Jenkins
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
(cherry picked from commit f9e2bc8d84fe729d7a501dc3acc6325e246f0b7d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175843
Diffstat (limited to 'eventattacher')
0 files changed, 0 insertions, 0 deletions