mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-19 10:02:45 -05:00
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);
|
old_bar[screen] = statusbar_position(screen);
|
||||||
break;
|
break;
|
||||||
case ACTION_EXIT_MENUITEM:
|
case ACTION_EXIT_MENUITEM:
|
||||||
settings_apply_skins();
|
if (statusbar_position(screen) == STATUSBAR_CUSTOM
|
||||||
|
&& (int)old_bar[screen] != statusbar_position(screen))
|
||||||
|
settings_apply_skins();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return ACTION_REDRAW;
|
return ACTION_REDRAW;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue