1
0
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:
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) 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 ?? ""
} }

View File

@ -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
} }