diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2012-04-08 13:28:21 +0200 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2012-04-08 13:28:21 +0200 |
| commit | 48c248d02b49d5adcc6883736ff5a3c775290365 (patch) | |
| tree | 2ce97be416614b67c8bd40aeafad4715c66da51c /apps/gui/bitmap | |
| parent | 688302a3b3cee640c268ba767b469fec5bfa2ca8 (diff) | |
| download | rockbox-48c248d02b49d5adcc6883736ff5a3c775290365.zip rockbox-48c248d02b49d5adcc6883736ff5a3c775290365.tar.gz rockbox-48c248d02b49d5adcc6883736ff5a3c775290365.tar.bz2 rockbox-48c248d02b49d5adcc6883736ff5a3c775290365.tar.xz | |
touchscreen: fix swipe scrolling (jumped back to previous item).
Change-Id: I055a5b19dec1db3ad31212dadc11b0f5056be832
Diffstat (limited to 'apps/gui/bitmap')
| -rw-r--r-- | apps/gui/bitmap/list.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 05a7f06..3d6028a 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c @@ -800,9 +800,10 @@ unsigned gui_synclist_do_touchscreen(struct gui_synclist * list) } } else if (action & BUTTON_REL) - { scroll_mode = SCROLL_NONE; - } + + if (scroll_mode == SCROLL_NONE) + last_y = 0; break; } case SCROLL_KINETIC: |