mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-11 07:04:13 +00:00
Tweaked scroll rejection period.
This commit is contained in:
parent
5449c883b4
commit
f203da1ac5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue