1
0
Fork 0
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:
Maurus Cuelenaere 2008-06-28 20:11:51 +00:00
parent 604447c475
commit 3d240f1e2a

View file

@ -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)
{