Increased magic surface update area to prevent clipping with Grass tool.
This commit is contained in:
parent
1a6cfa0284
commit
445a32230d
2 changed files with 5 additions and 2 deletions
|
|
@ -62,6 +62,9 @@ $Id$
|
||||||
* Clicking between the rightmost color and the edge of Tux Paint's display
|
* Clicking between the rightmost color and the edge of Tux Paint's display
|
||||||
would crash Tux Paint. (Fixes DBTS #352556)
|
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)
|
2005.November.26 (0.9.15b)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
Tux Paint - A simple drawing program for children.
|
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
|
bill@newbreedsoftware.com
|
||||||
http://www.newbreedsoftware.com/tuxpaint/
|
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? */
|
/* FIXME: Arbitrary? */
|
||||||
|
|
||||||
update_canvas(orig_x1 - 32, orig_y1 - 32,
|
update_canvas(orig_x1 - 32, orig_y1 - 32,
|
||||||
orig_x2 + 32, orig_y2 + 32);
|
orig_x2 + 32, orig_y2 + 64);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue