Skip to content

Fix storage bar rendering for image-background themes - #352

Merged
NaGaa95 merged 2 commits into
NaGaa95:masterfrom
Niklas080208:master
Aug 17, 2026
Merged

Fix storage bar rendering for image-background themes#352
NaGaa95 merged 2 commits into
NaGaa95:masterfrom
Niklas080208:master

Conversation

@Niklas080208

Copy link
Copy Markdown
Contributor

Summary

Custom themes that set background to a wallpaper image had broken eMMC and microSD indicators in the top bar. The storage bars drew their inner track using GetColour(ThemeEntryID_BACKGROUND), but when background is an image path sphaira loads it as a texture, not a color. GetColour() then returns an invalid/transparent value, so the bar track disappears.

Themes with a solid color background (like the default theme) were unaffected.

This change uses ThemeEntryID_PROGRESSBAR_BACKGROUND for the storage bar track instead, which is always a color and is already defined in most themes.

Changes

  • menu_base.cpp: fix top-bar System/microSD storage indicators
  • gc_menu.cpp: fix the same storage bar drawing in the GC menu

Niklas080208 and others added 2 commits August 17, 2026 18:36
Use progressbar_background instead of background for the storage bar track, since background may be a wallpaper texture without a usable colour value.
@NaGaa95
NaGaa95 merged commit eacb54b into NaGaa95:master Aug 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants