Checkbox uses CheckboxUnchecked icon when unchecked
This commit is contained in:
parent
bd9dbb762d
commit
a71d81af48
@ -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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user