fixed background image on score info page after playing score tape
authorHolger Schemel <info@artsoft.org>
Tue, 12 Apr 2022 21:45:38 +0000 (23:45 +0200)
committerHolger Schemel <info@artsoft.org>
Tue, 12 Apr 2022 21:45:38 +0000 (23:45 +0200)
src/screens.c

index 6a0920abc33d31c726d73e5c90ba3b151478166e..5ffd3409e36d5c2251ae130c99cbc5c7c7042aea 100644 (file)
@@ -5533,6 +5533,10 @@ static void DrawScoreInfo(int entry_nr)
   // needed if different viewport properties defined after playing score tape
   ChangeViewportPropertiesIfNeeded();
 
+  // set this after "ChangeViewportPropertiesIfNeeded()" (which may reset it)
+  SetDrawDeactivationMask(REDRAW_NONE);
+  SetDrawBackgroundMask(REDRAW_FIELD);
+
   // needed if different background image defined after playing score tape
   SetMainBackgroundImage(IMG_BACKGROUND_SCORES);
   SetMainBackgroundImageIfDefined(IMG_BACKGROUND_SCOREINFO);