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
This commit is contained in:
@@ -2561,7 +2561,7 @@ function SvgCanvas(c)
|
|||||||
(bbox.y+bbox.height/2) + ")";
|
(bbox.y+bbox.height/2) + ")";
|
||||||
this.changeSelectedAttribute("transform", rotate);
|
this.changeSelectedAttribute("transform", rotate);
|
||||||
var pointGripContainer = document.getElementById("polypointgrip_container");
|
var pointGripContainer = document.getElementById("polypointgrip_container");
|
||||||
if(pointGripContainer) {
|
if(elem.nodeName == "path" && pointGripContainer) {
|
||||||
pointGripContainer.setAttribute("transform", rotate);
|
pointGripContainer.setAttribute("transform", rotate);
|
||||||
}
|
}
|
||||||
selectorManager.requestSelector(selectedElements[0]).updateGripCursors(val);
|
selectorManager.requestSelector(selectedElements[0]).updateGripCursors(val);
|
||||||
|
|||||||
Reference in New Issue
Block a user