mirror of
https://github.com/swiftbar/SwiftBar.git
synced 2024-09-11 16:05:33 +03:00
Fixing menu should open on MouseDown event #217
This commit is contained in:
parent
f874f59d8b
commit
d965521b82
@ -14,7 +14,7 @@ class MenubarItem: NSObject {
|
||||
|
||||
var barItem: NSStatusItem = {
|
||||
let item = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength)
|
||||
item.button?.sendAction(on: [.leftMouseUp, .rightMouseUp])
|
||||
item.button?.sendAction(on: [.leftMouseDown, .rightMouseDown])
|
||||
return item
|
||||
}()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user