fixed light mode font

This commit is contained in:
aomizu
2025-06-09 14:43:22 +09:00
parent 03c7b2190c
commit 9fefd1fec8

View File

@@ -154,13 +154,13 @@ func updatePlayButtonState() {
if playButton != nil && playButtonText != nil { if playButton != nil && playButtonText != nil {
if launchEnabled { if launchEnabled {
playButton.Enable() playButton.Enable()
// Update text to show enabled state with bright color // Update text to show enabled state with white color
playButtonText.Segments = []widget.RichTextSegment{ playButtonText.Segments = []widget.RichTextSegment{
&widget.TextSegment{ &widget.TextSegment{
Text: "PLAY", Text: "PLAY",
Style: widget.RichTextStyle{ Style: widget.RichTextStyle{
SizeName: theme.SizeNameHeadingText, SizeName: theme.SizeNameHeadingText,
ColorName: theme.ColorNameForeground, ColorName: theme.ColorNameForegroundOnPrimary,
}, },
}, },
} }