Box re-applies theme on role change

This commit is contained in:
Sasha Koshka 2024-06-20 16:44:24 -04:00
parent e23e794730
commit fdcf254891

View File

@ -203,7 +203,10 @@ func (this *box) SetPadding (padding tomo.Inset) {
}
func (this *box) SetRole (role tomo.Role) {
if this.role == role { return }
this.role = role
this.lastStyleNonce = -1
this.outer.recursiveReApply()
}
func (this *box) SetDNDData (dat data.Data) {