Compare commits
No commits in common. "9d4ae6aa5804045ebcec254705e21f97be60b206" and "c1d73de3b552b79f1fe32ca8216b6563b518a76b" have entirely different histories.
9d4ae6aa58
...
c1d73de3b5
|
@ -28,7 +28,7 @@ namespace SkyHook
|
|||
public static readonly UnityEvent<SkyHookEvent> KeyUpdated = new();
|
||||
|
||||
/// <summary>
|
||||
/// The instance of sky hook manager. The instance will be created if it does not exist
|
||||
/// The instance of sky hook manager. The instance will be crated if it does not exist
|
||||
/// </summary>
|
||||
// ReSharper disable once MemberCanBePrivate.Global
|
||||
public static SkyHookManager Instance
|
||||
|
@ -49,7 +49,7 @@ namespace SkyHook
|
|||
|
||||
private void HookCallback(SkyHookEvent ev)
|
||||
{
|
||||
if (requireFocus && !IsFocused && ev.Type == EventType.KeyPressed)
|
||||
if (requireFocus && !IsFocused)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Reference in New Issue