forked from len0rd/rockbox
Small fix for touchscreen interface
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17856 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
604447c475
commit
3d240f1e2a
1 changed files with 3 additions and 0 deletions
|
|
@ -353,6 +353,9 @@ unsigned gui_synclist_do_touchpad(struct gui_synclist * gui_list, struct viewpor
|
|||
|
||||
if(actual_y%line_height == 0) /* Pressed a border */
|
||||
return ACTION_NONE;
|
||||
|
||||
if(actual_y >= line_height*gui_list->nb_items) /* Pressed below the list */
|
||||
return ACTION_NONE;
|
||||
|
||||
if (line != gui_list->selected_item - gui_list->start_item[SCREEN_MAIN] && button ^ BUTTON_REL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue