sc/source/ui/view/tabview.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 3ac4ea71d8fcd05d73b68397859056a14768dc03 Author: Marc Mondesir <timepilot3...@gmail.com> AuthorDate: Fri Oct 18 15:58:08 2024 -0700 Commit: Patrick Luby <guibomac...@gmail.com> CommitDate: Thu Oct 24 22:57:28 2024 +0200 tdf#119745: Improve horizontal scroll speed in Calc for Windows. Use a value for horiz scroll reduction on Windows that better suits scroll values from OS. Change-Id: Ie26c32fbed8ffd26094556d87a06d87938e98721 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175187 Tested-by: Jenkins Reviewed-by: Patrick Luby <guibomac...@gmail.com> diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index 36802c39168b..9088af8a6e24 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -1291,7 +1291,11 @@ void ScTabView::ScrollHdl(ScrollAdaptor* pScroll) // slower than they are used to. If that becomes an // issue for enough users, the reduction factor may // need to be lowered to find a good balance point. +#ifdef _WIN32 + static const tools::Long nHScrollReductionFactor = 3; +#else static const tools::Long nHScrollReductionFactor = 8; +#endif // tdf#161945 increase sensitivity for negative horizontal deltas // A side effect of the anti-jitter code is that it tends