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
master
Jeff Schiller 2009-08-31 19:19:07 +00:00
parent 83edd78a11
commit b05937aabc
1 changed files with 1 additions and 1 deletions

View File

@ -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);