feat: 添加inactive方法调用以优化图标添加后的状态管理

This commit is contained in:
xudan 2025-08-15 09:52:29 +08:00
parent b73f6dcbf3
commit 5727beb7bb

View File

@ -848,6 +848,7 @@ export class EditorService extends Meta2d {
visible: true, visible: true,
}; };
this.addPen(iconPen, false, false, true); this.addPen(iconPen, false, false, true);
this.inactive();
} }
} else { } else {
if (existingIcon) { if (existingIcon) {