From 7bd09dcd7c2cacd95060e4616f99593aeb6e144d Mon Sep 17 00:00:00 2001 From: Areloch Date: Mon, 15 Aug 2022 19:23:40 -0500 Subject: [PATCH] Fixes ordering of controls on PauseMenu gui so the input handler doesn't eat mouse inputs --- .../BaseGame/game/data/UI/guis/pauseMenu.gui | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Templates/BaseGame/game/data/UI/guis/pauseMenu.gui b/Templates/BaseGame/game/data/UI/guis/pauseMenu.gui index 6e02697d8..59d498e28 100644 --- a/Templates/BaseGame/game/data/UI/guis/pauseMenu.gui +++ b/Templates/BaseGame/game/data/UI/guis/pauseMenu.gui @@ -17,6 +17,18 @@ $guiContent = new GuiControl(PauseMenu) { isContainer = "1"; canSaveDynamicFields = "1"; }; + new GuiInputCtrl(PauseMenuInputHandler) { + sendAxisEvents = "1"; + sendBreakEvents = "1"; + ignoreMouseEvents = "1"; + position = "-50 0"; + extent = "10 10"; + horizSizing = "width"; + vertSizing = "height"; + profile = "GuiInputCtrlProfile"; + tooltipProfile = "GuiToolTipProfile"; + class = "MenuInputHandler"; + }; new GuiControl(PauseMenuButtons) { position = "162 125"; extent = "700 518"; @@ -147,17 +159,5 @@ $guiContent = new GuiControl(PauseMenu) { hidden = "1"; }; }; - new GuiInputCtrl(PauseMenuInputHandler) { - sendAxisEvents = "1"; - sendBreakEvents = "1"; - ignoreMouseEvents = "1"; - position = "-50 0"; - extent = "10 10"; - horizSizing = "width"; - vertSizing = "height"; - profile = "GuiInputCtrlProfile"; - tooltipProfile = "GuiToolTipProfile"; - class = "MenuInputHandler"; - }; }; //--- OBJECT WRITE END ---