From 74cc0fe376517d2f44b283c0550519c0c1491765 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Mon, 31 May 2010 17:40:30 +0000 Subject: [PATCH] Applied patch to issue 566 by peter.d.reid git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1583 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index cf414f8f..2ec17a60 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -214,9 +214,6 @@ function ChangeElementCommand(elem, attrs, text) { else if (attr == "#href") this.elem.setAttributeNS(xlinkns, "xlink:href", this.newValues[attr]) else this.elem.setAttribute(attr, this.newValues[attr]); } - - if (attr == "stdDeviation") canvas.setBlurOffsets(this.elem.parentNode, this.newValues[attr]); - else { if (attr == "#text") this.elem.textContent = ""; else { @@ -224,7 +221,10 @@ function ChangeElementCommand(elem, attrs, text) { this.elem.removeAttribute(attr); } } + if (attr == "transform") { bChangedTransform = true; } + else if (attr == "stdDeviation") { canvas.setBlurOffsets(this.elem.parentNode, this.newValues[attr]); } + } // relocate rotational transform, if necessary if(!bChangedTransform) {