1
0
Fork 0

fix(core): Hide stack if it's unwanted

This commit is contained in:
joostdecock 2022-09-21 17:41:12 +02:00
parent 516c819c40
commit 07ea66be77

View file

@ -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