1
0
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:
bb
2018-04-23 14:08:26 +00:00
parent c4342d6291
commit 3d4abb5f62
2 changed files with 6 additions and 1 deletions
@@ -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%">