fix(core): Hide stack if it's unwanted
This commit is contained in:
parent
516c819c40
commit
07ea66be77
1 changed files with 1 additions and 0 deletions
|
@ -491,6 +491,7 @@ Pattern.prototype.__isStackHidden = function (stackName) {
|
||||||
for (const partName of parts) {
|
for (const partName of parts) {
|
||||||
if (this.settings[this.activeStack || 0].only.includes(partName)) return false
|
if (this.settings[this.activeStack || 0].only.includes(partName)) return false
|
||||||
}
|
}
|
||||||
|
return true
|
||||||
}
|
}
|
||||||
for (const partName of parts) {
|
for (const partName of parts) {
|
||||||
if (this.__parts?.[partName]?.hide) return true
|
if (this.__parts?.[partName]?.hide) return true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue