Fixed typo: paresInt->parseInt

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@626 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2009-09-11 13:40:04 +00:00
parent d9ebb5bf08
commit 53a6f81960
1 changed files with 1 additions and 1 deletions

View File

@ -1861,7 +1861,7 @@ function BatchCommand(text) {
if (angle) {
// calculate the shape's old center that was used for rotation
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);
var dx = x - cx, dy = y - cy;
var r = Math.sqrt( dx*dx + dy*dy );