polish some things
This commit is contained in:
@@ -34,9 +34,9 @@ func (b *MenuButton) GetMenuButtonImg(
|
||||
|
||||
fontOptions := &text.DrawOptions{}
|
||||
if isFocused {
|
||||
fontOptions.ColorScale.ScaleWithColor(colors.Red)
|
||||
} else {
|
||||
fontOptions.ColorScale.ScaleWithColor(color.White)
|
||||
} else {
|
||||
fontOptions.ColorScale.ScaleWithColor(colors.Gray)
|
||||
}
|
||||
|
||||
text.Draw(
|
||||
|
||||
Reference in New Issue
Block a user