@pygmalionjs/pygmalion 0.6.10 → 0.6.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8615,14 +8615,15 @@ class Dh {
|
|
|
8615
8615
|
${e}`;
|
|
8616
8616
|
}
|
|
8617
8617
|
/**
|
|
8618
|
-
* Declared state variants sharing a scenario on one canvas
|
|
8619
|
-
* order. Folding never crosses
|
|
8620
|
-
*
|
|
8621
|
-
*
|
|
8618
|
+
* Declared state variants sharing a scenario on one canvas and in the
|
|
8619
|
+
* current runtime, in declaration order. Folding never crosses either
|
|
8620
|
+
* boundary: a state from another canvas or runtime is not an alternate the
|
|
8621
|
+
* reader can reveal here, and letting it hold the slot can fold the current
|
|
8622
|
+
* runtime down to nothing.
|
|
8622
8623
|
*/
|
|
8623
8624
|
screenStateGroup(e, n) {
|
|
8624
8625
|
return this.pages.filter(
|
|
8625
|
-
(r) => r.scenario === e && (r.canvas ?? "default") === n && r.route != null && r.importLayers === !0
|
|
8626
|
+
(r) => r.scenario === e && (r.canvas ?? "default") === n && r.route != null && r.importLayers === !0 && this.isInSelectedRuntime(r)
|
|
8626
8627
|
);
|
|
8627
8628
|
}
|
|
8628
8629
|
/** The group member holding the group's canvas slot, or null for non-groups. */
|