Tweaked scroll rejection period.

This commit is contained in:
ClementTsang 2019-12-11 01:00:56 -05:00
parent 5449c883b4
commit f203da1ac5
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}