Skip to content

Commit cf1f8d6

Browse files
committed
🐛 修复section框内双击创建的节点掉出的问题
1 parent 36b7c72 commit cf1f8d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/core/stage/stageManager/concreteMethods/stageNodeAdder.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export namespace StageNodeAdder {
4242

4343
for (const section of addToSections) {
4444
section.children.push(node);
45+
section.childrenUUIDs.push(node.uuid); // 修复
4546
section.adjustLocationAndSize();
4647
Stage.effectMachine.addEffect(
4748
new RectanglePushInEffect(node.rectangle.clone(), section.rectangle.clone(), new ProgressNumber(0, 100)),

0 commit comments

Comments
 (0)