From ec4a76087ae7534bff75cec68a1d6eaf16976d28 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 27 Nov 2024 19:39:25 +0100 Subject: [PATCH] fixed redrawing level (set) info icons when using color template --- src/screens.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/screens.c b/src/screens.c index 11a24ddc..093a3a88 100644 --- a/src/screens.c +++ b/src/screens.c @@ -2577,7 +2577,12 @@ static void HandleMainMenu_SelectLevel(int step, int direction, SaveLevelSetup_SeriesInfo(); + // when using icon graphics with color template, icons must be redrawn for each level + UpdateScreenMenuGadgets(SCREEN_MASK_MAIN_HAS_SOLUTION, FALSE); UpdateScreenMenuGadgets(SCREEN_MASK_MAIN_HAS_SOLUTION, hasSolutionTape()); + UpdateScreenMenuGadgets(SCREEN_MASK_MAIN_HAS_LEVELSET_INFO, FALSE); + UpdateScreenMenuGadgets(SCREEN_MASK_MAIN_HAS_LEVELSET_INFO, hasLevelSetInfo(FALSE)); + UpdateScreenMenuGadgets(SCREEN_MASK_MAIN_HAS_LEVEL_INFO, FALSE); UpdateScreenMenuGadgets(SCREEN_MASK_MAIN_HAS_LEVEL_INFO, hasLevelInfo(FALSE)); // force redraw of playfield area (may be reset at this point) -- 2.34.1