Checkbox uses CheckboxUnchecked icon when unchecked

This commit is contained in:
Sasha Koshka 2024-05-27 15:59:24 -04:00
parent bd9dbb762d
commit a71d81af48

View File

@ -33,7 +33,7 @@ func (this *Checkbox) SetValue (value bool) {
if this.value { if this.value {
this.SetTextureCenter(tomo.IconCheckboxChecked.Texture(tomo.IconSizeSmall)) this.SetTextureCenter(tomo.IconCheckboxChecked.Texture(tomo.IconSizeSmall))
} else { } else {
this.SetTextureCenter(nil) this.SetTextureCenter(tomo.IconCheckboxUnchecked.Texture(tomo.IconSizeSmall))
} }
} }