From b810e0cba54ced156ac39a42138d0dad51f597a3 Mon Sep 17 00:00:00 2001 From: JFH <20402845+jfhenon@users.noreply.github.com> Date: Sun, 27 Oct 2024 11:52:47 +0100 Subject: [PATCH] name is created below so no need here --- packages/svgcanvas/svgcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svgcanvas/svgcanvas.js b/packages/svgcanvas/svgcanvas.js index a7bdbc75b..90eefe758 100644 --- a/packages/svgcanvas/svgcanvas.js +++ b/packages/svgcanvas/svgcanvas.js @@ -852,7 +852,7 @@ class SvgCanvas { // create new document this.current_drawing_ = new draw.Drawing(this.svgContent) // create empty first layer - this.createLayer('Layer 1') + this.createLayer() // clear the undo stack this.undoMgr.resetUndoStack() // reset the selector manager