Box re-applies theme on role change
This commit is contained in:
parent
e23e794730
commit
fdcf254891
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user