Fix scrolling direction with trackpad in scrollable
This commit is contained in:
parent
f897442831
commit
45992109dd
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue