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
This commit is contained in:
@@ -465,8 +465,8 @@ function BatchCommand(text) {
|
|||||||
if (angle) {
|
if (angle) {
|
||||||
var cx = round(oldbox.x + oldbox.width/2) * current_zoom
|
var cx = round(oldbox.x + oldbox.width/2) * current_zoom
|
||||||
cy = round(oldbox.y + oldbox.height/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);
|
svgroot.unsuspendRedraw(sr_handle);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user