mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-11 09:28:38 +00:00
* removed local changes
This commit is contained in:
parent
7a3c4811ac
commit
893e9f6982
@ -49,7 +49,7 @@ class AppleScriptTouchBarItem: CustomButtonTouchBarItem {
|
||||
let output = script.executeAndReturnError(&error)
|
||||
if let error = error {
|
||||
print(error)
|
||||
return ""
|
||||
return "error"
|
||||
}
|
||||
return output.stringValue ?? ""
|
||||
}
|
||||
|
||||
@ -16,7 +16,6 @@ class CustomButtonTouchBarItem: NSCustomTouchBarItem {
|
||||
self.tapClosure = callback
|
||||
super.init(identifier: identifier)
|
||||
button = NSButton(title: title, target: self, action: #selector(didTapped))
|
||||
button.font = .systemFont(ofSize: CGFloat(13.0))
|
||||
button.title = title
|
||||
self.view = button
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user