Don't be too wasteful and only reparse skins when actually needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24818 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3ff2565e33
commit
8aae18b3cc
1 changed files with 3 additions and 1 deletions
|
@ -162,7 +162,9 @@ static int statusbar_callback_ex(int action,const struct menu_item_ex *this_item
|
|||
old_bar[screen] = statusbar_position(screen);
|
||||
break;
|
||||
case ACTION_EXIT_MENUITEM:
|
||||
settings_apply_skins();
|
||||
if (statusbar_position(screen) == STATUSBAR_CUSTOM
|
||||
&& (int)old_bar[screen] != statusbar_position(screen))
|
||||
settings_apply_skins();
|
||||
break;
|
||||
}
|
||||
return ACTION_REDRAW;
|
||||
|
|
Loading…
Reference in a new issue