添加生产导出log, 画布图层工具图层顺序问题

This commit is contained in:
李志鹏
2025-11-06 11:27:12 +08:00
parent ccedd00ea7
commit 21bfe5ef8f
7 changed files with 111 additions and 3 deletions

View File

@@ -255,6 +255,8 @@ export class AddObjectToLayerCommand extends Command {
);
// 标记为非首次执行
this.isFirstExecution = false;
// 重新排序图层对象
await this.layerManager?.layerSort?.rearrangeObjects();
console.log(
`✅ 对象已添加到图层 "${layer.name}",位置: (${this.fabricObject.left}, ${this.fabricObject.top})`
);