summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/bitmap/list.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c
index 743ab81..2a3a31a 100644
--- a/apps/gui/bitmap/list.c
+++ b/apps/gui/bitmap/list.c
@@ -393,6 +393,16 @@ unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list)
return ACTION_REDRAW;
}
+ /* This has the same effect as the icons do when the scrollbar
+ is on the left (ie eliminate the chances an user enters/starts
+ an item when he wanted to use the scrollbar, due to touchscreen
+ dead zones)
+ */
+ if(global_settings.scrollbar == SCROLLBAR_RIGHT &&
+ x > list_text[screen].x + list_text[screen].width -
+ global_settings.scrollbar_width)
+ return ACTION_NONE;
+
if (button == (BUTTON_REPEAT|BUTTON_REL))
{
if(!scrolling)