Fixed bug on selecting un-rotated element after having rotated previous one
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1038 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
c513aac9d0
commit
cf46838cd1
|
@ -466,6 +466,8 @@ function BatchCommand(text) {
|
||||||
|
|
||||||
if(canvas.getRotationAngle(selected)) {
|
if(canvas.getRotationAngle(selected)) {
|
||||||
this.selectorGroup.setAttribute("transform","rotate(" + angle + "," + mid_x + "," + mid_y + ")");
|
this.selectorGroup.setAttribute("transform","rotate(" + angle + "," + mid_x + "," + mid_y + ")");
|
||||||
|
} else {
|
||||||
|
this.selectorGroup.removeAttribute("transform");
|
||||||
}
|
}
|
||||||
|
|
||||||
var gripCoords = {
|
var gripCoords = {
|
||||||
|
|
Loading…
Reference in New Issue