Skip to content

Fix unreadable preview overlay text in light mode - #9

Merged
Diphome merged 1 commit into
masterfrom
fix/light-mode-preview-text
Sep 7, 2026
Merged

Fix unreadable preview overlay text in light mode#9
Diphome merged 1 commit into
masterfrom
fix/light-mode-preview-text

Conversation

@Diphome

@Diphome Diphome commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Bug

In light ("clear") theme, the text in the preview area is white on a light background and unreadable — the asset-info overlay (Compression format, Loop Start/End) and the FMOD audio player labels (Stopped, 44100 Hz, Mono, the timer, and the "Audio Engine supplied by FMOD…" line).

Cause

Those labels are hardcoded ForeColor = White in the Designer (fine for the dark preview background) and ApplyTheme never re-themed them, so they stayed white in light mode.

Fix

Theme the overlay labels' foreground in ApplyTheme with the mode's normal text color (near-white in dark, dark in light): assetInfoLabel, FMODstatusLabel, FMODinfoLabel, FMODtimerLabel, FMODaudioChannelsLabel, FMODcopyrightLabel.

Verified

  • Clean compile on net9 (running-app DLL lock aside). CI validates net472/net8/net9.
  • ⚠️ Not runtime-checked yet — worth confirming the labels read correctly in both light and dark, and after a live theme switch.

The asset-info overlay and the FMOD audio-player labels (status, frequency,
channels, timer, copyright) are hardcoded white in the Designer for the dark
preview background, so on the light theme they were white-on-light and
unreadable. Theme their foreground in ApplyTheme with the mode's normal text
color (near-white in dark, dark in light).

Co-Authored-By: Clue Opus 4.8 <noreply@anthropic.com>
@Diphome
Diphome merged commit 85a4462 into master Sep 7, 2026
1 check passed
@Diphome
Diphome deleted the fix/light-mode-preview-text branch September 7, 2026 18:38
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.

1 participant