Fix Issue 402: Freehand tools maxy not being reset

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1265 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2010-01-21 02:48:02 +00:00
parent 05941d2a13
commit 47a0faf93b
1 changed files with 11 additions and 11 deletions

View File

@ -2333,16 +2333,16 @@ function BatchCommand(text) {
// Mouse events
(function() {
var d_attr = null;
var start_x = null;
var start_y = null;
var init_bbox = {};
var freehand = {
minx: null,
miny: null,
maxx: null,
maxy: null
};
var d_attr = null,
start_x = null,
start_y = null,
init_bbox = {},
freehand = {
minx: null,
miny: null,
maxx: null,
maxy: null
};
// - when we are in a create mode, the element is added to the canvas
// but the action is not recorded until mousing up
@ -2512,7 +2512,7 @@ function BatchCommand(text) {
freehand.minx = x;
freehand.maxx = x;
freehand.miny = y;
freehand.miny = y;
freehand.maxy = y;
break;
case "image":
started = true;