Increase scrolling speed in Scrollable
This commit is contained in:
parent
5629716120
commit
cfe975938b
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ where
|
|||
match delta {
|
||||
mouse::ScrollDelta::Lines { y, .. } => {
|
||||
// TODO: Configurable speed (?)
|
||||
self.state.scroll(y * 15.0, bounds, content_bounds);
|
||||
self.state.scroll(y * 60.0, bounds, content_bounds);
|
||||
}
|
||||
mouse::ScrollDelta::Pixels { y, .. } => {
|
||||
self.state.scroll(y, bounds, content_bounds);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue