forked from len0rd/rockbox
Touchscreen devices: make scrolling up work better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19989 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
281fc2e708
commit
39be5ff9ff
1 changed files with 2 additions and 2 deletions
|
|
@ -301,7 +301,7 @@ unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list)
|
||||||
return ACTION_NONE;
|
return ACTION_NONE;
|
||||||
if (x<list_text[screen].x)
|
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 (y<list_text[SCREEN_MAIN].y)
|
||||||
{
|
{
|
||||||
if (button == BUTTON_REL)
|
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. |
|
* | 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;
|
int line_height, actual_y;
|
||||||
static int last_y = 0;
|
static int last_y = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue