Merge pull request #2583 from iced-rs/fix/scrolling-direction-with-trackpad
Fix scrolling direction with trackpad in `scrollable`
This commit is contained in:
commit
1cf284a850
1 changed files with 1 additions and 1 deletions
|
|
@ -751,7 +751,7 @@ where
|
||||||
// TODO: Configurable speed/friction (?)
|
// TODO: Configurable speed/friction (?)
|
||||||
-movement * 60.0
|
-movement * 60.0
|
||||||
}
|
}
|
||||||
mouse::ScrollDelta::Pixels { x, y } => Vector::new(x, y),
|
mouse::ScrollDelta::Pixels { x, y } => -Vector::new(x, y),
|
||||||
};
|
};
|
||||||
|
|
||||||
state.scroll(
|
state.scroll(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue