feat: add destination-specific global shortcuts
This commit is contained in:
@@ -111,6 +111,10 @@ final class EmojiPickerController: NSViewController, NSCollectionViewDataSource,
|
||||
@objc func goBack() {
|
||||
if actions.isShown { actions.close() } else { closed?() }
|
||||
}
|
||||
func close() {
|
||||
actions.close()
|
||||
closed?()
|
||||
}
|
||||
override func cancelOperation(_ sender: Any?) { goBack() }
|
||||
|
||||
func inputChanged(preservingSelection: Bool = false) {
|
||||
|
||||
Reference in New Issue
Block a user