fix: 移除调试代码,优化画布重置逻辑

This commit is contained in:
bighuixiang
2025-08-02 00:05:03 +08:00
parent 00ebd9c988
commit 6bc19bbc2e

View File

@@ -1071,7 +1071,6 @@ export class CanvasManager {
// 重置画布数据
this.setCanvasSize(this.canvas.width, this.canvas.height);
this.centerBackgroundLayer(this.canvas.width, this.canvas.height);
debugger;
// 重新构建对象关系
// restoreObjectLayerAssociations(this.layers.value, this.canvas.getObjects());
// 验证图层关联关系 - 稳定后可以注释