Skip to content

Conversation

@gpoitch
Copy link
Contributor

@gpoitch gpoitch commented Mar 5, 2025

Makes Shortcut.keyEquivalent public.

Use case:
Say I have a menu item for "New Post". Users can set a preferred global shortcut, otherwise it uses a local-only default. I need to set the menu item's keyEquivalent/keyEquivalentModifierMask for both scenarios.

@sindresorhus
Copy link
Owner

Would be nice to handle this automatically, but this is good enough for now. #202

@sindresorhus
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants