mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Fixes ordering of controls on PauseMenu gui so the input handler doesn't eat mouse inputs
This commit is contained in:
parent
3e88e2acb8
commit
7bd09dcd7c
1 changed files with 12 additions and 12 deletions
|
|
@ -17,6 +17,18 @@ $guiContent = new GuiControl(PauseMenu) {
|
||||||
isContainer = "1";
|
isContainer = "1";
|
||||||
canSaveDynamicFields = "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) {
|
new GuiControl(PauseMenuButtons) {
|
||||||
position = "162 125";
|
position = "162 125";
|
||||||
extent = "700 518";
|
extent = "700 518";
|
||||||
|
|
@ -147,17 +159,5 @@ $guiContent = new GuiControl(PauseMenu) {
|
||||||
hidden = "1";
|
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 ---
|
//--- OBJECT WRITE END ---
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue