From b509922bc804498e60a8ac623f0ff80255da2220 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Thu, 5 Mar 2026 16:09:56 -0500 Subject: [PATCH] fix(scrollable): pixel scroll direction --- widget/src/scrollable.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/widget/src/scrollable.rs b/widget/src/scrollable.rs index c60104d6..c6231dd6 100644 --- a/widget/src/scrollable.rs +++ b/widget/src/scrollable.rs @@ -1033,10 +1033,9 @@ where -movement * 60.0 } mouse::ScrollDelta::Pixels { x, y } => { - Vector::new(x, y) + -Vector::new(x, y) } }; - state.scroll( self.direction.align(delta), bounds, @@ -1197,7 +1196,6 @@ where }; let scroll_factor = time_delta.as_secs_f32(); - state.scroll( self.direction.align(Vector::new( delta.x.signum()