File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ int action_switch_thumbnail(const char *path,
139139 if (settings -> uints .gfx_thumbnails )
140140 action_cycle_thumbnail (MENU_ACTION_CYCLE_THUMBNAIL_PRIMARY );
141141 else
142- action_cycle_thumbnail (MENU_ACTION_CYCLE_THUMBNAIL_PRIMARY );
142+ action_cycle_thumbnail (MENU_ACTION_CYCLE_THUMBNAIL_SECONDARY );
143143
144144 if (menu_st -> driver_ctx )
145145 {
Original file line number Diff line number Diff line change @@ -7165,9 +7165,10 @@ int action_cycle_thumbnail(unsigned mode)
71657165 if (cur_primary == cur_secondary )
71667166 cur_secondary ++ ;
71677167
7168- /* Wrap secondary to no image, and skip logo */
7168+ /* Wrap secondary to no image, and skip logo.
7169+ * If primary disabled, wrap to first image. */
71697170 if (cur_secondary > PLAYLIST_THUMBNAIL_MODE_LAST - PLAYLIST_THUMBNAIL_MODE_OFF - 2 )
7170- cur_secondary = 0 ;
7171+ cur_secondary = ( cur_primary ) ? 0 : 1 ;
71717172
71727173 configuration_set_uint (settings , settings -> uints .menu_left_thumbnails , cur_secondary );
71737174 }
You can’t perform that action at this time.
0 commit comments