fixed light mode font
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user