1
0
Fork 0
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:
Jörg Hohensohn 2004-03-31 07:18:10 +00:00
parent 67e864e0cc
commit 18e91a729a

View file

@ -1485,6 +1485,7 @@ static bool dirbrowse(char *root, int *dirfilter)
}
lasti=i;
lastdircursor=dircursor;
thumbnail_time = -1; /* cancel whatever we were about to say */
showfileline(dircursor, i, true, dirfilter); /* scroll please */
need_update = true;
@ -1493,7 +1494,7 @@ static bool dirbrowse(char *root, int *dirfilter)
{
/* play directory thumbnail */
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;
}
else if (global_settings.talk_dir == 1) /* dirs as numbers */