Skip to content

Commit

Permalink
- made registeredShortcuts a public static var (vs private)
Browse files Browse the repository at this point in the history
  • Loading branch information
stormychel committed May 18, 2024
1 parent 09e4a10 commit 0e2b900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/KeyboardShortcuts/KeyboardShortcuts.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import AppKit.NSMenu
Global keyboard shortcuts for your macOS app.
*/
public enum KeyboardShortcuts {
private static var registeredShortcuts = Set<Shortcut>()
public static var registeredShortcuts = Set<Shortcut>() // made public by Michel Storms (stormychel @ GH)

private static var legacyKeyDownHandlers = [Name: [() -> Void]]()
private static var legacyKeyUpHandlers = [Name: [() -> Void]]()
Expand Down

0 comments on commit 0e2b900

Please sign in to comment.