From 2e751e937fab3e6ed6d9dc70f1364886ce405f28 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 22 Apr 2017 14:17:12 +0100 Subject: [PATCH] Remove invalid Background widgets from TD map editor. --- mods/cnc/chrome/editor.yaml | 2 +- mods/cnc/chrome/mainmenu.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/cnc/chrome/editor.yaml b/mods/cnc/chrome/editor.yaml index e67fcd31a6..2482d915bf 100644 --- a/mods/cnc/chrome/editor.yaml +++ b/mods/cnc/chrome/editor.yaml @@ -77,7 +77,7 @@ Container@NEW_MAP_BG: Font: Bold Key: return -Background@SAVE_MAP_PANEL: +Container@SAVE_MAP_PANEL: Logic: SaveMapLogic X: (WINDOW_RIGHT - WIDTH)/2 Y: (WINDOW_BOTTOM - HEIGHT)/2 diff --git a/mods/cnc/chrome/mainmenu.yaml b/mods/cnc/chrome/mainmenu.yaml index 92e9144580..3d1ec8045d 100644 --- a/mods/cnc/chrome/mainmenu.yaml +++ b/mods/cnc/chrome/mainmenu.yaml @@ -173,7 +173,7 @@ Container@MENU_BACKGROUND: Width: 140 Height: 35 Text: Back - Background@MAP_EDITOR_MENU: + Container@MAP_EDITOR_MENU: Width: PARENT_RIGHT Visible: False Children: