From b05937aabc22b63ff333c3d05b5aae7b4458bff3 Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Mon, 31 Aug 2009 19:19:07 +0000 Subject: [PATCH] Fix rotation of poly point grips when the path was not rotated git-svn-id: http://svg-edit.googlecode.com/svn/trunk@512 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 22c6f1be..f43b689a 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -2561,7 +2561,7 @@ function SvgCanvas(c) (bbox.y+bbox.height/2) + ")"; this.changeSelectedAttribute("transform", rotate); var pointGripContainer = document.getElementById("polypointgrip_container"); - if(pointGripContainer) { + if(elem.nodeName == "path" && pointGripContainer) { pointGripContainer.setAttribute("transform", rotate); } selectorManager.requestSelector(selectedElements[0]).updateGripCursors(val);