File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/KeyboardShortcuts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ extension KeyboardShortcuts.Shortcut {
104
104
/**
105
105
Check whether the keyboard shortcut is disallowed.
106
106
*/
107
- var isDisallowed : Bool {
107
+ public var isDisallowed : Bool {
108
108
let osVersion = ProcessInfo . processInfo. operatingSystemVersion
109
109
110
110
guard
@@ -127,7 +127,7 @@ extension KeyboardShortcuts.Shortcut {
127
127
/**
128
128
Check whether the keyboard shortcut is already taken by the system.
129
129
*/
130
- var isTakenBySystem : Bool {
130
+ public var isTakenBySystem : Bool {
131
131
guard self != Self ( . f12, modifiers: [ ] ) else {
132
132
return false
133
133
}
@@ -173,7 +173,7 @@ extension KeyboardShortcuts.Shortcut {
173
173
Returns a menu item in the app's main menu that has a matching key equivalent and modifier.
174
174
*/
175
175
@MainActor
176
- var takenByMainMenu : NSMenuItem ? {
176
+ public var takenByMainMenu : NSMenuItem ? {
177
177
guard let mainMenu = NSApp . mainMenu else {
178
178
return nil
179
179
}
You can’t perform that action at this time.
0 commit comments