Skip to content

Commit

Permalink
GLUI: Allow fullscreen thumbnail browsing (#17562)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonninnos authored Feb 12, 2025
1 parent 135a228 commit 106dc5d
Show file tree
Hide file tree
Showing 5 changed files with 1,401 additions and 1,429 deletions.
5 changes: 0 additions & 5 deletions menu/cbs/menu_cbs_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,17 +124,12 @@ int action_switch_thumbnail(const char *path,
#ifdef HAVE_RGUI
switch_enabled = !string_is_equal(menu_ident, "rgui");
#endif
#ifdef HAVE_MATERIALUI
switch_enabled = switch_enabled && !string_is_equal(menu_ident, "glui");
#endif

if (!settings)
return -1;

/* RGUI has its own cycling for thumbnails in order to allow
* cycling all images in fullscreen mode.
* GLUI is a special case where thumbnail 'switch' corresponds to
* changing thumbnail view mode.
* For other menu drivers, we cycle through available thumbnail
* types and skip if already visible. */
if (switch_enabled)
Expand Down
Loading

0 comments on commit 106dc5d

Please sign in to comment.