fixed redraw bug with closed text envelope in MM engine
authorHolger Schemel <info@artsoft.org>
Fri, 17 Feb 2023 19:01:58 +0000 (20:01 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 17 Feb 2023 19:01:58 +0000 (20:01 +0100)
src/tools.c

index 4ebf19bb15cc49e9e0a5f6a37937202d4ddc58dc..50846337d52f07e1c19e04769ff4eef12c436ea7 100644 (file)
@@ -3011,6 +3011,9 @@ void ShowEnvelope_MM(int envelope_nr)
   ShowEnvelope(envelope_nr);
 
   SetDrawtoField(DRAW_TO_BACKBUFFER);
+
+  BlitBitmap(bitmap_db_field, backbuffer, REAL_SX, REAL_SY,
+            FULL_SXSIZE, FULL_SYSIZE, REAL_SX, REAL_SY);
 }
 
 static void PrepareEnvelopeRequestToScreen(Bitmap *bitmap, int sx, int sy,