Applied patch to issue 566 by peter.d.reid
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1583 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
b61de7cc25
commit
74cc0fe376
|
@ -214,9 +214,6 @@ function ChangeElementCommand(elem, attrs, text) {
|
||||||
else if (attr == "#href") this.elem.setAttributeNS(xlinkns, "xlink:href", this.newValues[attr])
|
else if (attr == "#href") this.elem.setAttributeNS(xlinkns, "xlink:href", this.newValues[attr])
|
||||||
else this.elem.setAttribute(attr, this.newValues[attr]);
|
else this.elem.setAttribute(attr, this.newValues[attr]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (attr == "stdDeviation") canvas.setBlurOffsets(this.elem.parentNode, this.newValues[attr]);
|
|
||||||
|
|
||||||
else {
|
else {
|
||||||
if (attr == "#text") this.elem.textContent = "";
|
if (attr == "#text") this.elem.textContent = "";
|
||||||
else {
|
else {
|
||||||
|
@ -224,7 +221,10 @@ function ChangeElementCommand(elem, attrs, text) {
|
||||||
this.elem.removeAttribute(attr);
|
this.elem.removeAttribute(attr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (attr == "transform") { bChangedTransform = true; }
|
if (attr == "transform") { bChangedTransform = true; }
|
||||||
|
else if (attr == "stdDeviation") { canvas.setBlurOffsets(this.elem.parentNode, this.newValues[attr]); }
|
||||||
|
|
||||||
}
|
}
|
||||||
// relocate rotational transform, if necessary
|
// relocate rotational transform, if necessary
|
||||||
if(!bChangedTransform) {
|
if(!bChangedTransform) {
|
||||||
|
|
Loading…
Reference in New Issue