diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 058b82de..e83e1411 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -608,7 +608,8 @@ function BatchCommand(text) { // this keeps the selector groups as the last child in the document this.update = function() { - this.selectorParentGroup = svgroot.appendChild(this.selectorParentGroup); + if (svgroot.lastChild != this.selectorParentGroup) + this.selectorParentGroup = svgroot.appendChild(this.selectorParentGroup); }; this.getRubberBandBox = function() {