forked from len0rd/rockbox
bugfix for changing position/directory during the talkbox "hover" timeout
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4458 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
67e864e0cc
commit
18e91a729a
1 changed files with 2 additions and 1 deletions
|
|
@ -1485,6 +1485,7 @@ static bool dirbrowse(char *root, int *dirfilter)
|
||||||
}
|
}
|
||||||
lasti=i;
|
lasti=i;
|
||||||
lastdircursor=dircursor;
|
lastdircursor=dircursor;
|
||||||
|
thumbnail_time = -1; /* cancel whatever we were about to say */
|
||||||
|
|
||||||
showfileline(dircursor, i, true, dirfilter); /* scroll please */
|
showfileline(dircursor, i, true, dirfilter); /* scroll please */
|
||||||
need_update = true;
|
need_update = true;
|
||||||
|
|
@ -1493,7 +1494,7 @@ static bool dirbrowse(char *root, int *dirfilter)
|
||||||
{
|
{
|
||||||
/* play directory thumbnail */
|
/* play directory thumbnail */
|
||||||
if (global_settings.talk_dir == 3) /* hover */
|
if (global_settings.talk_dir == 3) /* hover */
|
||||||
{ // "schedule" a thumbnail, to have a little dalay */
|
{ /* "schedule" a thumbnail, to have a little dalay */
|
||||||
thumbnail_time = current_tick + HOVER_DELAY;
|
thumbnail_time = current_tick + HOVER_DELAY;
|
||||||
}
|
}
|
||||||
else if (global_settings.talk_dir == 1) /* dirs as numbers */
|
else if (global_settings.talk_dir == 1) /* dirs as numbers */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue