diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 40d7d6f3..61d265a3 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -173,7 +173,7 @@ function SvgCanvas(doc) "y": y, "width": 0, "height": 0, - "id": "rect_" + obj_num, + "id": getId(), "fill": current_fill, "stroke": current_stroke, "stroke-width": current_stroke_width,