Yet more work on Issue 382: Only append the selector parent group when it needs to happen

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1123 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2009-12-29 18:12:32 +00:00
parent 9015f80156
commit c3fa557e60

View File

@@ -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() {