touchscreen: fix swipe scrolling (jumped back to previous item).
Change-Id: I055a5b19dec1db3ad31212dadc11b0f5056be832
This commit is contained in:
parent
688302a3b3
commit
48c248d02b
1 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue