1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-02 19:13:34 +00:00

ozone: prevent content metadata from lagging

This commit is contained in:
natinusala 2019-03-15 14:41:41 +01:00
parent 35aacadd23
commit 6807f1b9bb

@ -1293,8 +1293,6 @@ static void ozone_selection_changed(ozone_handle_t *ozone, bool allow_animation)
size_t new_selection = menu_navigation_get_selection();
ozone_node_t *node = (ozone_node_t*) file_list_get_userdata_at_offset(selection_buf, new_selection);
ozone_update_content_metadata(ozone);
menu_entry_init(&entry);
if (!node)
@ -1311,6 +1309,8 @@ static void ozone_selection_changed(ozone_handle_t *ozone, bool allow_animation)
ozone->cursor_in_sidebar_old = ozone->cursor_in_sidebar;
ozone_update_content_metadata(ozone);
menu_animation_kill_by_tag(&tag);
ozone_update_scroll(ozone, allow_animation, node);