From a71d81af48b9aff7414c7fa8299a38da616a019b Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Mon, 27 May 2024 15:59:24 -0400 Subject: [PATCH] Checkbox uses CheckboxUnchecked icon when unchecked --- checkbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkbox.go b/checkbox.go index 9eeb778..fed59f6 100644 --- a/checkbox.go +++ b/checkbox.go @@ -33,7 +33,7 @@ func (this *Checkbox) SetValue (value bool) { if this.value { this.SetTextureCenter(tomo.IconCheckboxChecked.Texture(tomo.IconSizeSmall)) } else { - this.SetTextureCenter(nil) + this.SetTextureCenter(tomo.IconCheckboxUnchecked.Texture(tomo.IconSizeSmall)) } }