From 8390fd53680eb1f2d47da75534d1e779d8831eb3 Mon Sep 17 00:00:00 2001 From: Konstantin Lopyrev Date: Wed, 20 May 2026 09:17:20 -0400 Subject: [PATCH] Fix scroll remainder accumulation in AxisGesture --- src/logid/actions/gesture/AxisGesture.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/logid/actions/gesture/AxisGesture.cpp b/src/logid/actions/gesture/AxisGesture.cpp index ac4a810a..58a64c8a 100644 --- a/src/logid/actions/gesture/AxisGesture.cpp +++ b/src/logid/actions/gesture/AxisGesture.cpp @@ -94,6 +94,8 @@ void AxisGesture::move(int16_t axis) { // Handle hi-res multiplier move *= _multiplier; + move += _axis_remainder; + double move_floor = floor(move); _axis_remainder = move - move_floor; if (_axis_remainder >= 1) {