Compare commits
1 Commits
1946c00065
...
c4991a6671
Author | SHA1 | Date |
---|---|---|
Shadowfacts | c4991a6671 |
|
@ -30,14 +30,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||
// update the icon when system prefs changes
|
||||
DistributedNotificationCenter.default().addObserver(self, selector: #selector(updateIcon), name: .swipeScrollDirectionDidChangeNotification, object: nil)
|
||||
}
|
||||
|
||||
func applicationWillTerminate(_ aNotification: Notification) {
|
||||
// Insert code here to tear down your application
|
||||
}
|
||||
|
||||
func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
|
||||
return true
|
||||
}
|
||||
|
||||
@objc private func updateIcon() {
|
||||
item.button!.image = Direction.current.image
|
||||
|
|
Loading…
Reference in New Issue