From 8068036219a7d23af607c3db22303aea89bf217d Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Mon, 12 Aug 2024 22:06:06 -0400 Subject: [PATCH] Fix icon sizes --- icon.go | 1 + 1 file changed, 1 insertion(+) diff --git a/icon.go b/icon.go index fddcaa2..1500c6f 100644 --- a/icon.go +++ b/icon.go @@ -33,6 +33,7 @@ func NewIcon (icon tomo.Icon, size tomo.IconSize) *Icon { func (this *Icon) SetIcon (icon tomo.Icon, size tomo.IconSize) { if this.icon == icon { return } this.icon = icon + this.size = size this.setTexture(icon.Texture(size)) }