fix developer hotkey display being cut off

This commit is contained in:
Matthias Mailänder
2015-06-28 15:48:11 +02:00
parent 8b4d5c7fb2
commit 9d6a5d626f
3 changed files with 30 additions and 1 deletions

View File

@@ -346,6 +346,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
var globalTemplate = hotkeyList.Get("GLOBAL_TEMPLATE");
var unitTemplate = hotkeyList.Get("UNIT_TEMPLATE");
var productionTemplate = hotkeyList.Get("PRODUCTION_TEMPLATE");
var developerTemplate = hotkeyList.Get("DEVELOPER_TEMPLATE");
hotkeyList.RemoveChildren();
Func<bool> returnTrue = () => true;
@@ -473,7 +474,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
hotkeyList.AddChild(header);
foreach (var kv in hotkeys)
BindHotkeyPref(kv, ks, globalTemplate, hotkeyList);
BindHotkeyPref(kv, ks, developerTemplate, hotkeyList);
}
return () =>