Can now scroll left/right on playlists tab

This commit is contained in:
twinaphex 2016-07-09 02:18:58 +02:00
parent 1b28ff59ba
commit fffd104c0d
3 changed files with 13 additions and 0 deletions

View File

@ -429,6 +429,12 @@ static int menu_cbs_init_bind_left_compare_label(menu_file_list_cbs_t *cbs,
return 0;
}
if (string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_PLAYLISTS_TAB)))
{
BIND_ACTION_LEFT(cbs, action_left_mainmenu);
return 0;
}
if (strstr(label, "rdb_entry"))
{
BIND_ACTION_LEFT(cbs, action_left_scroll);

View File

@ -535,6 +535,12 @@ static int menu_cbs_init_bind_right_compare_label(menu_file_list_cbs_t *cbs,
return 0;
}
if (string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_PLAYLISTS_TAB)))
{
BIND_ACTION_RIGHT(cbs, action_right_mainmenu);
return 0;
}
if (strstr(label, "rdb_entry"))
{
BIND_ACTION_RIGHT(cbs, action_right_scroll);

View File

@ -5303,6 +5303,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
strlcpy(info->exts,
file_path_str(FILE_PATH_RDB_EXTENSION),
sizeof(info->exts));
info->enum_idx = MENU_ENUM_LABEL_CONTENT_COLLECTION_LIST;
strlcpy(info->path, settings->path.content_database, sizeof(info->path));
break;
case DISPLAYLIST_ARCHIVE_ACTION: