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,
|
_hidden: false,
|
||||||
set hidden(v) {
|
set hidden(v) {
|
||||||
if (v) {
|
if (v) {
|
||||||
uil._hidden = true;
|
this._hidden = true;
|
||||||
uil.layer.hide(v);
|
this.layer.hide(v);
|
||||||
} else {
|
} else {
|
||||||
uil._hidden = false;
|
this._hidden = false;
|
||||||
uil.layer.unhide(v);
|
this.layer.unhide(v);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
get hidden() {
|
get hidden() {
|
||||||
return uil._hidden;
|
return this._hidden;
|
||||||
},
|
},
|
||||||
entry: null,
|
entry: null,
|
||||||
layer,
|
layer,
|
||||||
|
|
Loading…
Reference in a new issue