Improve TextEditor scroll interaction with a touchpad
This commit is contained in:
parent
1b534bda53
commit
c8eca4e6bf
1 changed files with 1 additions and 1 deletions
|
|
@ -628,7 +628,7 @@ impl Update {
|
|||
}
|
||||
}
|
||||
mouse::ScrollDelta::Pixels { y, .. } => {
|
||||
-y.signum() as i32
|
||||
(-y / 4.0) as i32
|
||||
}
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue