diff --git a/src/Editor.vue b/src/Editor.vue index c6e41af..537bd99 100644 --- a/src/Editor.vue +++ b/src/Editor.vue @@ -521,7 +521,8 @@ opacity: params.opacity, left: params.left, top: params.top, - noScaleCache: params.noScaleCache + noScaleCache: params.noScaleCache, + id: params.id }); this.canvas.add(this.rectangle); } @@ -537,7 +538,8 @@ stroke: params.stroke, fill: params.fill, borderColor: 'yellow', - noScaleCache: params.noScaleCache + noScaleCache: params.noScaleCache, + id: params.id }); this.canvas.add(this.circle);