Skip to content

Commit

Permalink
name is created below so no need here
Browse files Browse the repository at this point in the history
  • Loading branch information
jfhenon committed Oct 27, 2024
1 parent b41eaf3 commit b810e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/svgcanvas/svgcanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b810e0c

Please sign in to comment.