Fixed typo: paresInt->parseInt
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@626 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
d9ebb5bf08
commit
53a6f81960
|
@ -1861,7 +1861,7 @@ function BatchCommand(text) {
|
||||||
if (angle) {
|
if (angle) {
|
||||||
// calculate the shape's old center that was used for rotation
|
// calculate the shape's old center that was used for rotation
|
||||||
var box = selectedBBoxes[0];
|
var box = selectedBBoxes[0];
|
||||||
var cx = paresInt(box.x + box.width/2),
|
var cx = parseInt(box.x + box.width/2),
|
||||||
cy = parseInt(box.y + box.height/2);
|
cy = parseInt(box.y + box.height/2);
|
||||||
var dx = x - cx, dy = y - cy;
|
var dx = x - cx, dy = y - cy;
|
||||||
var r = Math.sqrt( dx*dx + dy*dy );
|
var r = Math.sqrt( dx*dx + dy*dy );
|
||||||
|
|
Loading…
Reference in New Issue