Skip to content

Commit affeb0b

Browse files
committed
Adjust speed of pointer scrolling
1 parent c2a19af commit affeb0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,10 +636,10 @@ impl Application for App {
636636
y = -y;
637637

638638
let scroll = previous_scroll + y;
639-
if scroll <= -4. {
639+
if scroll <= -16. {
640640
self.scroll = None;
641641
ScrollDirection::Prev
642-
} else if scroll >= 4. {
642+
} else if scroll >= 16. {
643643
self.scroll = None;
644644
ScrollDirection::Next
645645
} else {

0 commit comments

Comments
 (0)