1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-10 17:08:39 +00:00

* removed local changes

This commit is contained in:
ad 2018-04-16 23:07:15 +03:00
parent 7a3c4811ac
commit 893e9f6982
2 changed files with 2 additions and 3 deletions

View File

@ -49,7 +49,7 @@ class AppleScriptTouchBarItem: CustomButtonTouchBarItem {
let output = script.executeAndReturnError(&error)
if let error = error {
print(error)
return ""
return "error"
}
return output.stringValue ?? ""
}

View File

@ -16,11 +16,10 @@ 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
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}