forked from mirrors/0ad
Use esc to close the tabs in gamesetup
string should come after release Patch By: ffffffff Differential Revision: https://code.wildfiregames.com/D1242 This was SVN commit r21768.
This commit is contained in:
@@ -72,5 +72,6 @@ function selectPanel(category)
|
||||
button.sprite = category == j ? "ModernTabVerticalForeground" : "ModernTabVerticalBackground";
|
||||
});
|
||||
|
||||
g_OnSelectTab(category);
|
||||
if (g_OnSelectTab)
|
||||
g_OnSelectTab(category);
|
||||
}
|
||||
|
||||
@@ -17,6 +17,10 @@
|
||||
</action>
|
||||
</object>
|
||||
|
||||
<object hotkey="cancel">
|
||||
<action on="Press">selectPanel(undefined);</action>
|
||||
</object>
|
||||
|
||||
<!-- Add a translucent black background to fade out the menu page -->
|
||||
<object type="image" style="ModernWindow" size="0 0 100% 100%">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user