Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions menu/drivers/ozone.c
Original file line number Diff line number Diff line change
Expand Up @@ -13267,6 +13267,8 @@ static void ozone_populate_entries(
struct menu_state *menu_st = menu_state_get_ptr();
menu_list_t *menu_list = menu_st->entries.list;
bool ozone_collapse_sidebar = settings->bools.ozone_collapse_sidebar;
bool menu_show_sublabels = settings->bools.menu_show_sublabels;
bool menu_current_sel_only = settings->bools.menu_show_sublabels_current_selection_only;
ozone_handle_t *ozone = (ozone_handle_t*) data;

if (!ozone)
Expand Down Expand Up @@ -13347,6 +13349,8 @@ static void ozone_populate_entries(
&& new_depth > ozone->depth;

animate = new_depth != ozone->depth;
if (!animate && menu_show_sublabels && menu_current_sel_only)
ozone->selection_old = ozone->selection;

if (new_depth <= ozone->depth)
ozone->flags |= OZONE_FLAG_FADE_DIRECTION;
Expand Down
Loading