Fixed freehand rect bug caused in last checkin

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1127 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2009-12-29 21:28:06 +00:00
parent 4ba0d002f0
commit ff203457c1
1 changed files with 2 additions and 2 deletions

View File

@ -4121,8 +4121,8 @@ function BatchCommand(text) {
}
break;
case "fhrect":
if ((freehand_max_x - freehand_min_x) > 0 &&
(freehand_max_y - freehand_min_y) > 0) {
if ((freehand.maxx - freehand.minx) > 0 &&
(freehand.maxy - freehand.miny) > 0) {
element = addSvgElementFromJson({
"element": "rect",
"attr": {