This commit is contained in:
X1627315083
2025-03-12 16:49:30 +08:00
parent a28408bcd6
commit 6a4c00da52

View File

@@ -106,7 +106,8 @@ class myCanvas {
// this.canvas.on('mouse:up', function(event) { // this.canvas.on('mouse:up', function(event) {
// if(this.canvasState != 'move')this.updateCanvasState('') // if(this.canvasState != 'move')this.updateCanvasState('')
// }); // });
this.canvas.on("object:added", (event)=> if(!this.isLoadCanvas)this.updateCanvasState('') this.canvas.on("object:added", (event)=>{
if(!this.isLoadCanvas)this.updateCanvasState('')
}); });
return this.canvas return this.canvas
} }