touchscreen: fix swipe scrolling (jumped back to previous item).

Change-Id: I055a5b19dec1db3ad31212dadc11b0f5056be832
This commit is contained in:
Thomas Martitz 2012-04-08 13:28:21 +02:00
parent 688302a3b3
commit 48c248d02b

View file

@ -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: