Fix IDE0090
This commit is contained in:
committed by
Pavel Penev
parent
164abfdae1
commit
8a285f9b19
@@ -17,9 +17,9 @@ namespace OpenRA.Platforms.Default
|
||||
static class MultiTapDetection
|
||||
{
|
||||
static readonly Cache<(Keycode Key, Modifiers Mods), TapHistory> KeyHistoryCache =
|
||||
new Cache<(Keycode, Modifiers), TapHistory>(_ => new TapHistory(DateTime.Now - TimeSpan.FromSeconds(1)));
|
||||
new(_ => new TapHistory(DateTime.Now - TimeSpan.FromSeconds(1)));
|
||||
static readonly Cache<byte, TapHistory> ClickHistoryCache =
|
||||
new Cache<byte, TapHistory>(_ => new TapHistory(DateTime.Now - TimeSpan.FromSeconds(1)));
|
||||
new(_ => new TapHistory(DateTime.Now - TimeSpan.FromSeconds(1)));
|
||||
|
||||
public static int DetectFromMouse(byte button, int2 xy)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user