summaryrefslogtreecommitdiffstats
path: root/native/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-24 12:54:31 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-24 12:54:31 +0100
commitcfe975938b7b6c91f75ea07efd1b6d6be7bb315e (patch)
tree1d4cab8d3b2366d5f2eee5502b97e0e06f3861f3 /native/src
parent5629716120f2635406707792a6967bcd7d3e0ff3 (diff)
downloadiced-cfe975938b7b6c91f75ea07efd1b6d6be7bb315e.tar.gz
iced-cfe975938b7b6c91f75ea07efd1b6d6be7bb315e.tar.bz2
iced-cfe975938b7b6c91f75ea07efd1b6d6be7bb315e.zip
Increase scrolling speed in `Scrollable`
Diffstat (limited to 'native/src')
-rw-r--r--native/src/widget/scrollable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/scrollable.rs b/native/src/widget/scrollable.rs
index 9b7ccf84..678d837a 100644
--- a/native/src/widget/scrollable.rs
+++ b/native/src/widget/scrollable.rs
@@ -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);