swapped active/pressed logic for level set info button graphics
authorHolger Schemel <info@artsoft.org>
Tue, 14 Feb 2023 20:19:37 +0000 (21:19 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 14 Feb 2023 20:19:37 +0000 (21:19 +0100)
src/conf_gfx.c
src/screens.c

index fe2dd219f7d7b48d64c87352d15c3e158a95eefc..75bce21f6aa2db8d51ea35d6eca6107d40b7ac85 100644 (file)
@@ -6211,10 +6211,10 @@ struct ConfigInfo image_config[] =
 
   { "menu.button_levelset_info",               UNDEFINED_FILENAME      },
   { "menu.button_levelset_info.clone_from",    "envelope_1"            },
-  { "menu.button_levelset_info.active",                UNDEFINED_FILENAME      },
-  { "menu.button_levelset_info.active.clone_from", "envelope_1.collecting" },
   { "menu.button_levelset_info.pressed",       UNDEFINED_FILENAME      },
-  { "menu.button_levelset_info.pressed.clone_from", "envelope_1"       },
+  { "menu.button_levelset_info.pressed.clone_from", "envelope_1.collecting" },
+  { "menu.button_levelset_info.active",                UNDEFINED_FILENAME      },
+  { "menu.button_levelset_info.active.clone_from", "envelope_1"                },
 
   { "menu.button_switch_ecs_aga",              UNDEFINED_FILENAME      },
   { "menu.button_switch_ecs_aga.active",       UNDEFINED_FILENAME      },
index 3e0dd34395e10bed20fe43594895ee2a65dead76..15dc1a737d1a3d12d7a874b57eb8800e5b4f8d88 100644 (file)
@@ -9664,8 +9664,8 @@ static struct
     FALSE, "play solution tape"
   },
   {
-    IMG_MENU_BUTTON_LEVELSET_INFO, IMG_MENU_BUTTON_LEVELSET_INFO_ACTIVE,
-    IMG_MENU_BUTTON_LEVELSET_INFO_PRESSED,
+    IMG_MENU_BUTTON_LEVELSET_INFO, IMG_MENU_BUTTON_LEVELSET_INFO_PRESSED,
+    IMG_MENU_BUTTON_LEVELSET_INFO_ACTIVE,
     &menu.main.button.levelset_info, NULL,
     SCREEN_CTRL_ID_LEVELSET_INFO,
     SCREEN_MASK_MAIN_HAS_SET_INFO,