mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-25 09:49:57 +08:00
fix(editor): 流式布局下,拖动后选中错误
This commit is contained in:
parent
2ade3d03f7
commit
393889b27a
@ -359,6 +359,8 @@ class Editor extends BaseService {
|
|||||||
await this.update(parent);
|
await this.update(parent);
|
||||||
await this.select(node);
|
await this.select(node);
|
||||||
|
|
||||||
|
this.get<StageCore>('stage')?.update({ config: cloneDeep(node), root: this.get('root') });
|
||||||
|
|
||||||
this.addModifiedNodeId(parent.id);
|
this.addModifiedNodeId(parent.id);
|
||||||
this.pushHistoryState();
|
this.pushHistoryState();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user