more fixes for getting styleCop up, this will need one more push to get another 15 that will require renaming of vars (#5875)

This commit is contained in:
Clint Rutkas
2020-08-11 13:40:26 -07:00
committed by GitHub
parent 90502f7553
commit 2c49df4be3
24 changed files with 255 additions and 181 deletions

View File

@@ -24,7 +24,7 @@ namespace Wox.Infrastructure.Hotkey
Dictionary<Key, string> specialSymbolDictionary = new Dictionary<Key, string>
{
{ Key.Space, "Space" },
{ Key.Oem3, "~" }
{ Key.Oem3, "~" },
};
public ModifierKeys ModifierKeys
@@ -81,7 +81,7 @@ namespace Wox.Infrastructure.Hotkey
return;
}
List<string> keys = hotkeyString.Replace(" ", "").Split('+').ToList();
List<string> keys = hotkeyString.Replace(" ", string.Empty).Split('+').ToList();
if (keys.Contains("Alt"))
{
Alt = true;

View File

@@ -24,6 +24,6 @@ namespace Wox.Infrastructure.Hotkey
/// <summary>
/// System key down
/// </summary>
WM_SYSKEYDOWN = 260
WM_SYSKEYDOWN = 260,
}
}