From 3c58672b25f5de9436d3ca864b7408cf7f5a5cc0 Mon Sep 17 00:00:00 2001 From: Matt <85322+mattmassicotte@users.noreply.github.com> Date: Mon, 8 Jan 2024 08:20:17 -0500 Subject: [PATCH] Add missing public modifiers --- Sources/KeyCodes/NSEvent+Key.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/KeyCodes/NSEvent+Key.swift b/Sources/KeyCodes/NSEvent+Key.swift index 197a07d..4e15348 100644 --- a/Sources/KeyCodes/NSEvent+Key.swift +++ b/Sources/KeyCodes/NSEvent+Key.swift @@ -3,7 +3,7 @@ import Carbon.HIToolbox import AppKit extension NSEvent { - var keyModifierFlags: KeyModifierFlags? { + public var keyModifierFlags: KeyModifierFlags? { guard type == .keyDown || type == .keyUp else { return nil } @@ -35,7 +35,7 @@ extension NSEvent { return flags } - var keyboardHIDUsage: KeyboardHIDUsage? { + public var keyboardHIDUsage: KeyboardHIDUsage? { guard type == .keyDown || type == .keyUp else { return nil }