fix: 移除调试代码,优化画布重置逻辑
This commit is contained in:
@@ -1071,7 +1071,6 @@ export class CanvasManager {
|
|||||||
// 重置画布数据
|
// 重置画布数据
|
||||||
this.setCanvasSize(this.canvas.width, this.canvas.height);
|
this.setCanvasSize(this.canvas.width, this.canvas.height);
|
||||||
this.centerBackgroundLayer(this.canvas.width, this.canvas.height);
|
this.centerBackgroundLayer(this.canvas.width, this.canvas.height);
|
||||||
debugger;
|
|
||||||
// 重新构建对象关系
|
// 重新构建对象关系
|
||||||
// restoreObjectLayerAssociations(this.layers.value, this.canvas.getObjects());
|
// restoreObjectLayerAssociations(this.layers.value, this.canvas.getObjects());
|
||||||
// 验证图层关联关系 - 稳定后可以注释
|
// 验证图层关联关系 - 稳定后可以注释
|
||||||
|
|||||||
Reference in New Issue
Block a user