mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-11 17:38: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)
|
let output = script.executeAndReturnError(&error)
|
||||||
if let error = error {
|
if let error = error {
|
||||||
print(error)
|
print(error)
|
||||||
return ""
|
return "error"
|
||||||
}
|
}
|
||||||
return output.stringValue ?? ""
|
return output.stringValue ?? ""
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,6 @@ class CustomButtonTouchBarItem: NSCustomTouchBarItem {
|
|||||||
self.tapClosure = callback
|
self.tapClosure = callback
|
||||||
super.init(identifier: identifier)
|
super.init(identifier: identifier)
|
||||||
button = NSButton(title: title, target: self, action: #selector(didTapped))
|
button = NSButton(title: title, target: self, action: #selector(didTapped))
|
||||||
button.font = .systemFont(ofSize: CGFloat(13.0))
|
|
||||||
button.title = title
|
button.title = title
|
||||||
self.view = button
|
self.view = button
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user