fix
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user