We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 212efc3 commit 6643a6dCopy full SHA for 6643a6d
editor/grida-canvas/reducers/methods/transform.ts
@@ -21,13 +21,14 @@ import type { ReducerContext } from "..";
21
22
/**
23
* Determines if a node type allows hierarchy changes during translation.
24
- * Container nodes allow children to escape/enter during translation.
+ * Container nodes and scenes allow children to escape/enter during translation.
25
* Group and boolean nodes do not allow hierarchy changes - children must stay within their parent.
26
*/
27
function allows_hierarchy_change(
28
node_type: grida.program.nodes.NodeType
29
): boolean {
30
switch (node_type) {
31
+ case "scene":
32
case "container":
33
return true;
34
case "group":
0 commit comments