From 136d02ce28f90443a0f67e9dc988ec418b263a64 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Thu, 6 Feb 2025 13:37:53 -0800 Subject: [PATCH] Fix disabled scroll accumulation --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 8f5422f..a847bcf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -563,8 +563,7 @@ impl Application for App { 0. }; - //let scroll = previous_scroll + y; - let scroll = y; + let scroll = previous_scroll + y; if scroll <= -4. { self.scroll = None; ScrollDirection::Prev