fix(ui): Force white text on all enabled module tiles

- Changed Refresh() to always use TextColor for enabled modules
- Previously was calling getContrastColor() which changed text to black on bright backgrounds
- All module tiles now consistently use white text as intended
This commit is contained in:
Stu Leak 2025-12-31 15:21:42 -05:00
parent cb754a186e
commit 91071ec619

View File

@ -266,7 +266,7 @@ func (r *moduleTileRenderer) Refresh() {
// Update tile color and text color based on enabled state
if r.tile.enabled {
r.bg.FillColor = r.tile.color
r.label.Color = getContrastColor(r.tile.color)
r.label.Color = TextColor // Always white text for enabled modules
if r.lockIcon != nil {
r.lockIcon.Hide()
}