Fixed freehand rect bug caused in last checkin
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1127 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
4ba0d002f0
commit
ff203457c1
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue