Tweaked scroll rejection period.

This commit is contained in:
ClementTsang 2019-12-11 01:00:56 -05:00
parent 5449c883b4
commit f203da1ac5

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