Compare commits

..

No commits in common. "9d4ae6aa5804045ebcec254705e21f97be60b206" and "c1d73de3b552b79f1fe32ca8216b6563b518a76b" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ namespace SkyHook
public static readonly UnityEvent<SkyHookEvent> KeyUpdated = new(); public static readonly UnityEvent<SkyHookEvent> KeyUpdated = new();
/// <summary> /// <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> /// </summary>
// ReSharper disable once MemberCanBePrivate.Global // ReSharper disable once MemberCanBePrivate.Global
public static SkyHookManager Instance public static SkyHookManager Instance
@ -49,7 +49,7 @@ namespace SkyHook
private void HookCallback(SkyHookEvent ev) private void HookCallback(SkyHookEvent ev)
{ {
if (requireFocus && !IsFocused && ev.Type == EventType.KeyPressed) if (requireFocus && !IsFocused)
{ {
return; return;
} }