diff options
Diffstat (limited to 'apps/gui/bitmap/list.c')
-rw-r--r-- | apps/gui/bitmap/list.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 743ab813af..2a3a31a548 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) | |||
393 | return ACTION_REDRAW; | 393 | return ACTION_REDRAW; |
394 | } | 394 | } |
395 | 395 | ||
396 | /* This has the same effect as the icons do when the scrollbar | ||
397 | is on the left (ie eliminate the chances an user enters/starts | ||
398 | an item when he wanted to use the scrollbar, due to touchscreen | ||
399 | dead zones) | ||
400 | */ | ||
401 | if(global_settings.scrollbar == SCROLLBAR_RIGHT && | ||
402 | x > list_text[screen].x + list_text[screen].width - | ||
403 | global_settings.scrollbar_width) | ||
404 | return ACTION_NONE; | ||
405 | |||
396 | if (button == (BUTTON_REPEAT|BUTTON_REL)) | 406 | if (button == (BUTTON_REPEAT|BUTTON_REL)) |
397 | { | 407 | { |
398 | if(!scrolling) | 408 | if(!scrolling) |