From e726d8e9b1363296beff00a2450618195bd40a16 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Tue, 3 Nov 2009 17:47:33 +0000 Subject: [PATCH] Prevent selection box from scaling on resize using original method git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@901 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index b1a44e03..2bd0a82f 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -465,8 +465,8 @@ function BatchCommand(text) { if (angle) { var cx = round(oldbox.x + oldbox.width/2) * current_zoom cy = round(oldbox.y + oldbox.height/2) * current_zoom; + this.selectorGroup.setAttribute("transform", "rotate("+angle+" " + cx + "," + cy + ")"); } - this.selectorGroup.setAttribute("transform", transform); svgroot.unsuspendRedraw(sr_handle); };