pullrequests Search Results · user:sindresorhus language:swift archived:false is:public language:CSS language:CSS
Filter by
486 results
insindresorhus (press backspace or delete to remove)This PR allows option key shortcuts for macOS 15.2 and later.
Adds the following methods for removing only the handlers for specific Names:
/**
Remove all handlers for one or more names. Includes both key down and key up handlers.
*/
public static func removeHandlers(for ...
Evaluating globalKeyboardShortcut(_:) revealed several issues related to special keys:
- Shortcuts using the Key.space would produce a KeyEquivalent that specified the S key. (cause: first being used ...
The isPressed indicator was not changing for shortcuts created with the DynamicShortcutRecorder. This was caused by
registration being done with .onChange(of:_:) - where action is only evaluated with the ...
Internal is somewhat a common and ambiguous name. If a project or another dependency uses the same module name, there
might be clashes and other issues. Fixes #6.
P.S. Maybe ExceptionCatcherObjC is a ...
- Change Traditional Chinese to Simplified Chinese in zh-Hans.
- Remove unneeded space between English words and Chinese characters.
- Fix shortcut recorder not allowing other modifiers when option ...
- unregisterall() now also removes UserDefaults entries
- made unregisterall() public since it can be useful to clean up all shortcuts from an app