From f45476a5c99dd95025dc61161c14e6a667d5a46c Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Fri, 3 May 2024 15:29:04 -0400 Subject: [PATCH] Changed Theme.Color to Theme.RGBA --- internal/theme/theme.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/theme/theme.go b/internal/theme/theme.go index 214c7d8..2357c09 100644 --- a/internal/theme/theme.go +++ b/internal/theme/theme.go @@ -161,7 +161,7 @@ func (this *Theme) Apply (object tomo.Object, role theme.Role) event.Cookie { } -func (this *Theme) Color (c theme.Color) (r, g, b, a uint32) { +func (this *Theme) RGBA (c theme.Color) (r, g, b, a uint32) { if this.Colors == nil { return 0xFFFF, 0, 0xFFFF, 0xFFFF } color, ok := this.Colors[c] if !ok { return 0xFFFF, 0, 0xFFFF, 0xFFFF }