WingMan

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 23  →  ?path2? @ 24
/trunk/WingMan/Bindings/KeyInterceptor.cs
@@ -69,7 +69,14 @@
KeyComboDataFlowLink = null;
 
// Create a sliding window of size equal to the longest key combination.
var maxKeyComboLength = RemoteKeyBindings.Bindings.Max(binding => binding.Keys.Count);
if (!RemoteKeyBindings.Bindings.Any())
return;
 
var remoteKeyBindings = RemoteKeyBindings.Bindings.Where(binding => binding.Keys.Any()).ToList();
if (!remoteKeyBindings.Any())
return;
 
var maxKeyComboLength = remoteKeyBindings.Max(binding => binding.Keys.Count);
if (maxKeyComboLength <= 0)
return;