From 445a32230d7c8e49577137df113e810dc4641684 Mon Sep 17 00:00:00 2001 From: William Kendrick Date: Mon, 13 Feb 2006 07:58:53 +0000 Subject: [PATCH] Increased magic surface update area to prevent clipping with Grass tool. --- docs/CHANGES.txt | 3 +++ src/tuxpaint.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index c1aa7aeb2..4097c9d7a 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -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) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index fafb7c78b..3dbe72894 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -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); }