diff --git a/packages/core/src/pattern.mjs b/packages/core/src/pattern.mjs index efae09215cd..4c930e80799 100644 --- a/packages/core/src/pattern.mjs +++ b/packages/core/src/pattern.mjs @@ -1246,7 +1246,7 @@ Pattern.prototype.__resolveParts = function (count = 0, distance = 0) { if (part.hideAll) this.__mutated.partHide[part.name] = true // Inject (from) if (part.from) { - if (part.hideDependencies || this.__mutated.partHideAll[name]) { + if (part.hideDependencies || part.hideAll || this.__mutated.partHideAll[name]) { // Don't mutate the part, keep this info in the pattern object this.__mutated.partHide[part.from.name] = true this.__mutated.partHideAll[part.from.name] = true