Fix disabled scroll accumulation

This commit is contained in:
Ian Douglas Scott 2025-02-06 13:37:53 -08:00
parent 5842829c59
commit 136d02ce28

View file

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