From cf46838cd1beda6639e78e48a2e464c8ea62cc58 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Mon, 14 Dec 2009 16:53:21 +0000 Subject: [PATCH] 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-75d572ba1ddd --- editor/svgcanvas.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 87b4d2d6..4ae5b2ec 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -466,6 +466,8 @@ function BatchCommand(text) { if(canvas.getRotationAngle(selected)) { this.selectorGroup.setAttribute("transform","rotate(" + angle + "," + mid_x + "," + mid_y + ")"); + } else { + this.selectorGroup.removeAttribute("transform"); } var gripCoords = {