diff options
author | 2024-09-18 20:54:42 +0200 | |
---|---|---|
committer | 2024-09-18 20:54:42 +0200 | |
commit | 1cf284a850cf13591efbf6a28a98862aaa02ba08 (patch) | |
tree | 9c133d86ec3abbc75c3f6facfa114c1f48c9c9a4 | |
parent | 035d4e37d5a1c818aa134b8c99b31d635a7b8996 (diff) | |
parent | 45992109ddea00b24484e68ac78ae4b55d2c6c22 (diff) | |
download | iced-1cf284a850cf13591efbf6a28a98862aaa02ba08.tar.gz iced-1cf284a850cf13591efbf6a28a98862aaa02ba08.tar.bz2 iced-1cf284a850cf13591efbf6a28a98862aaa02ba08.zip |
Merge pull request #2583 from iced-rs/fix/scrolling-direction-with-trackpad
Fix scrolling direction with trackpad in `scrollable`
-rw-r--r-- | widget/src/scrollable.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/scrollable.rs b/widget/src/scrollable.rs index af6a3945..a5610166 100644 --- a/widget/src/scrollable.rs +++ b/widget/src/scrollable.rs @@ -751,7 +751,7 @@ where // TODO: Configurable speed/friction (?) -movement * 60.0 } - mouse::ScrollDelta::Pixels { x, y } => Vector::new(x, y), + mouse::ScrollDelta::Pixels { x, y } => -Vector::new(x, y), }; state.scroll( |