summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-04-08 13:28:21 +0200
committerThomas Martitz <kugel@rockbox.org>2012-04-08 13:28:21 +0200
commit48c248d02b49d5adcc6883736ff5a3c775290365 (patch)
tree2ce97be416614b67c8bd40aeafad4715c66da51c
parent688302a3b3cee640c268ba767b469fec5bfa2ca8 (diff)
downloadrockbox-48c248d02b49d5adcc6883736ff5a3c775290365.tar.gz
rockbox-48c248d02b49d5adcc6883736ff5a3c775290365.zip
touchscreen: fix swipe scrolling (jumped back to previous item).
Change-Id: I055a5b19dec1db3ad31212dadc11b0f5056be832
-rw-r--r--apps/gui/bitmap/list.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c
index 05a7f066af..3d6028ae23 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)
800 } 800 }
801 } 801 }
802 else if (action & BUTTON_REL) 802 else if (action & BUTTON_REL)
803 {
804 scroll_mode = SCROLL_NONE; 803 scroll_mode = SCROLL_NONE;
805 } 804
805 if (scroll_mode == SCROLL_NONE)
806 last_y = 0;
806 break; 807 break;
807 } 808 }
808 case SCROLL_KINETIC: 809 case SCROLL_KINETIC: