layer visibility toggle affects wrong layer (bleeding edge branch)
Fixes #71
This commit is contained in:
parent
5f16b8b21d
commit
1888d7f8a3
1 changed files with 5 additions and 5 deletions
|
@ -349,15 +349,15 @@ commands.createCommand(
|
|||
_hidden: false,
|
||||
set hidden(v) {
|
||||
if (v) {
|
||||
uil._hidden = true;
|
||||
uil.layer.hide(v);
|
||||
this._hidden = true;
|
||||
this.layer.hide(v);
|
||||
} else {
|
||||
uil._hidden = false;
|
||||
uil.layer.unhide(v);
|
||||
this._hidden = false;
|
||||
this.layer.unhide(v);
|
||||
}
|
||||
},
|
||||
get hidden() {
|
||||
return uil._hidden;
|
||||
return this._hidden;
|
||||
},
|
||||
entry: null,
|
||||
layer,
|
||||
|
|
Loading…
Reference in a new issue