Merge pull request #7930 from Mailaender/screenshot

Added a hotkey to take screenshots
This commit is contained in:
Pavel Penev
2015-06-28 15:37:07 +03:00
10 changed files with 111 additions and 3 deletions

View File

@@ -464,7 +464,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
{
var hotkeys = new Dictionary<string, string>()
{
{ "DevReloadChromeKey", "Reload Chrome" }
{ "DevReloadChromeKey", "Reload Chrome" },
{ "TakeScreenshotKey", "Take screenshot" }
};
var header = ScrollItemWidget.Setup(hotkeyHeader, returnTrue, doNothing);