forked from len0rd/rockbox
Fix the simplelist redraw behaviour. It caused e.g. the 'Open with...' menu items to not scroll as they should, making it partially unusable with small displays and/or large fonts. Thanks to JdGordon for pointing me into the right direction.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16415 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3d863143a5
commit
bf9ae1f303
1 changed files with 1 additions and 2 deletions
|
|
@ -1184,8 +1184,7 @@ bool simplelist_show_list(struct simplelist_info *info)
|
||||||
}
|
}
|
||||||
if (action == ACTION_STD_CANCEL)
|
if (action == ACTION_STD_CANCEL)
|
||||||
break;
|
break;
|
||||||
else if ((action == ACTION_NONE) ||
|
else if ((action == ACTION_REDRAW) ||
|
||||||
(action == ACTION_REDRAW) ||
|
|
||||||
(old_line_count != simplelist_line_count))
|
(old_line_count != simplelist_line_count))
|
||||||
{
|
{
|
||||||
if (info->get_name == NULL)
|
if (info->get_name == NULL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue