Compare commits
2 Commits
f45476a5c9
...
82657bf251
Author | SHA1 | Date | |
---|---|---|---|
82657bf251 | |||
992a5b23f9 |
@ -25,7 +25,7 @@ type Theme struct {
|
||||
Rules map[theme.Role] Rule
|
||||
|
||||
// Colors maps theme.Color values to color.RGBA values.
|
||||
Colors map[theme.Color] color.RGBA
|
||||
Colors map[theme.Color] color.Color
|
||||
|
||||
// This type does not handle icons, and as such, a special icon theme
|
||||
// must be separately specified.
|
||||
@ -138,6 +138,7 @@ func (this *Theme) Apply (object tomo.Object, role theme.Role) event.Cookie {
|
||||
this.execute(object, rule.Pressed...)
|
||||
}
|
||||
}
|
||||
updateStyle()
|
||||
|
||||
return event.MultiCookie (
|
||||
box.OnFocusEnter(updateStyle),
|
||||
|
Loading…
x
Reference in New Issue
Block a user