Increased magic surface update area to prevent clipping with Grass tool.

This commit is contained in:
William Kendrick 2006-02-13 07:58:53 +00:00
parent 1a6cfa0284
commit 445a32230d
2 changed files with 5 additions and 2 deletions

View file

@ -62,6 +62,9 @@ $Id$
* Clicking between the rightmost color and the edge of Tux Paint's display
would crash Tux Paint. (Fixes DBTS #352556)
* Bottom of grass would initially be clipped due to incorrect canvas
updating. Fixed.
2005.November.26 (0.9.15b)

View file

@ -3,7 +3,7 @@
Tux Paint - A simple drawing program for children.
Copyright (c) 2005 by Bill Kendrick and others; see AUTHORS.txt
Copyright (c) 2002-2006 by Bill Kendrick and others; see AUTHORS.txt
bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
@ -5659,7 +5659,7 @@ static void magic_draw(int x1, int y1, int x2, int y2, int button_down)
/* FIXME: Arbitrary? */
update_canvas(orig_x1 - 32, orig_y1 - 32,
orig_x2 + 32, orig_y2 + 32);
orig_x2 + 32, orig_y2 + 64);
}