From 22ed2f62bd965e95535f59cf068f1319ddb91821 Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Wed, 28 Sep 2022 18:33:01 +0200 Subject: [PATCH] fix(core): Hide grandchild dependencies --- packages/core/src/pattern.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/pattern.mjs b/packages/core/src/pattern.mjs index 575607cf679..ddfd9344078 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) { + if (part.hideDependencies || 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