mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 02:00:41 +00:00
(Ozone) Return to sidebar from playlist manage quick access
This commit is contained in:
parent
8f5442da5b
commit
c8fb30ebe5
@ -653,6 +653,7 @@ struct ozone_handle
|
|||||||
bool show_thumbnail_bar;
|
bool show_thumbnail_bar;
|
||||||
bool is_quick_menu;
|
bool is_quick_menu;
|
||||||
bool sidebar_collapsed;
|
bool sidebar_collapsed;
|
||||||
|
bool pending_cursor_in_sidebar;
|
||||||
|
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
@ -8009,6 +8010,7 @@ static enum menu_action ozone_parse_menu_entry_action(
|
|||||||
|
|
||||||
ozone->flags &= ~OZONE_FLAG_CURSOR_IN_SIDEBAR;
|
ozone->flags &= ~OZONE_FLAG_CURSOR_IN_SIDEBAR;
|
||||||
ozone->flags &= ~OZONE_FLAG_WANT_THUMBNAIL_BAR;
|
ozone->flags &= ~OZONE_FLAG_WANT_THUMBNAIL_BAR;
|
||||||
|
ozone->pending_cursor_in_sidebar = true;
|
||||||
|
|
||||||
ozone_refresh_sidebars(ozone, ozone_collapse_sidebar, ozone->last_height);
|
ozone_refresh_sidebars(ozone, ozone_collapse_sidebar, ozone->last_height);
|
||||||
if (!(ozone->flags & OZONE_FLAG_EMPTY_PLAYLIST))
|
if (!(ozone->flags & OZONE_FLAG_EMPTY_PLAYLIST))
|
||||||
@ -8305,6 +8307,13 @@ static enum menu_action ozone_parse_menu_entry_action(
|
|||||||
ozone_go_to_sidebar(ozone, ozone_collapse_sidebar, tag);
|
ozone_go_to_sidebar(ozone, ozone_collapse_sidebar, tag);
|
||||||
new_action = MENU_ACTION_ACCESSIBILITY_SPEAK_TITLE;
|
new_action = MENU_ACTION_ACCESSIBILITY_SPEAK_TITLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Return from manage playlist quick access back to sidebar */
|
||||||
|
if (ozone->pending_cursor_in_sidebar && ozone->depth == 2)
|
||||||
|
{
|
||||||
|
ozone->pending_cursor_in_sidebar = false;
|
||||||
|
ozone->flags |= OZONE_FLAG_CURSOR_IN_SIDEBAR;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MENU_ACTION_SCROLL_UP:
|
case MENU_ACTION_SCROLL_UP:
|
||||||
|
Loading…
Reference in New Issue
Block a user