From f203da1ac5762cb374ac658006048ad8a1c3e8f0 Mon Sep 17 00:00:00 2001 From: ClementTsang Date: Wed, 11 Dec 2019 01:00:56 -0500 Subject: [PATCH] Tweaked scroll rejection period. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 76311ab6..999ea056 100644 --- a/src/main.rs +++ b/src/main.rs @@ -135,7 +135,7 @@ fn main() -> error::Result<()> { } } InputEvent::Mouse(mouse) => { - if Instant::now().duration_since(mouse_timer).as_millis() >= 40 { + if Instant::now().duration_since(mouse_timer).as_millis() >= 30 { if tx.send(Event::MouseInput(mouse)).is_err() { return; }