Prevent scroll wheel on mini 1g from over-scrolling when scrolling very fast.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9740 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c7f304e1b9
commit
54d757b0c5
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ void handle_scroll_wheel(int new_scroll, int was_hold, int reverse)
|
|||
}
|
||||
}
|
||||
}
|
||||
if (wheel_keycode != BUTTON_NONE)
|
||||
if (wheel_keycode != BUTTON_NONE && queue_empty(&button_queue))
|
||||
queue_post(&button_queue, wheel_keycode, NULL);
|
||||
prev_scroll = new_scroll;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue