部件选取多语言

This commit is contained in:
李志鹏
2026-01-26 17:07:06 +08:00
parent 44674b5396
commit 8ff7a31e92
4 changed files with 23 additions and 10 deletions

View File

@@ -108,6 +108,7 @@ export class PartManager {
}
// 如果从选区工具切换到非选区工具,清理事件和选区
else if (wasActive && !this.isActive) {
this.selectionManager.clearSelection();
this.cleanupEvents();
this.clearPartObject();
this.clearPointData();
@@ -618,7 +619,7 @@ export class PartManager {
selectionManager: this.selectionManager,
toolManager: this.toolManager,
})
this.commandManager.execute(cmd);
this.commandManager.execute(cmd)
}
/** 清空点位 */
clearPart() {