diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-02-12 15:58:55 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-02-12 15:58:55 +0000 |
commit | 39be5ff9ffffe8952396a919fc65a4e324fb888d (patch) | |
tree | be0e326f58f87eefd9037b99ca03e6726c1df5d9 /apps/gui | |
parent | 281fc2e708980447db4eaa7abdd5f890919c0462 (diff) |
Touchscreen devices: make scrolling up work better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19989 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/bitmap/list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index f94a950091..231c990bab 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c @@ -301,7 +301,7 @@ unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list) return ACTION_NONE; if (x<list_text[screen].x) { - /* Top left corner is hopefully GO_TO_ROOT */ + /* Top left corner is GO_TO_ROOT */ if (y<list_text[SCREEN_MAIN].y) { if (button == BUTTON_REL) @@ -351,7 +351,7 @@ unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list) * | will bring up the context menu of it. | * |--------------------------------------------------------| */ - if (y > list_text[screen].y) + if (y > list_text[screen].y || button & BUTTON_REPEAT) { int line_height, actual_y; static int last_y = 0; |