From 2e231b5adcc3e8b853cf105eb9fd41bc0c9dedd6 Mon Sep 17 00:00:00 2001 From: Bill Kendrick Date: Wed, 27 Oct 2021 22:56:29 -0700 Subject: [PATCH] switchout/switchin when changing Magic groups Also, doc'ing Cartoon full-image mode --- docs/CHANGES.txt | 4 ++-- src/tuxpaint.c | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index 0c6727c52..76da4d921 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -41,8 +41,8 @@ $Id$ * "TV" now breaks pixels into red/green/blue components, rather than merely adding a 'scanline' effect. - * "Blocks", "Chalk", "Emboss", and "Halftone" can all now affect - the entire image at once. + * "Blocks", "Cartoon", "Chalk", "Emboss", and "Halftone" can all now + affect the entire image at once. * Other Improvements: ------------------- diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 0fd41dd64..a154c04c6 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA (See COPYING.txt) - June 14, 2002 - October 25, 2021 + June 14, 2002 - October 27, 2021 */ #include "platform.h" @@ -3813,6 +3813,8 @@ static void mainloop(void) { int tries = 0; + magic_switchout(canvas); + /* Magic pagination */ do { @@ -3850,6 +3852,8 @@ static void mainloop(void) color_hexes[cur_color][1], color_hexes[cur_color][2]); + magic_switchin(canvas); + playsound(screen, 0, SND_CLICK, 0, SNDPOS_CENTER, SNDDIST_NEAR); } else