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

full media keys

This commit is contained in:
Toxblh 2018-04-09 08:40:38 +01:00
parent d97d8efdd4
commit 92b6e5ef33

View File

@ -92,10 +92,10 @@ class TouchBarController: NSObject, NSTouchBarDelegate {
item.view = NSButton(title: "🔊", target: self, action: #selector(handleVolumeUp)) item.view = NSButton(title: "🔊", target: self, action: #selector(handleVolumeUp))
return item return item
// case .prev: case .prev:
// let item = NSCustomTouchBarItem(identifier: identifier) let item = NSCustomTouchBarItem(identifier: identifier)
// item.view = NSButton(title: "", target: self, action: #selector(handlePrev)) item.view = NSButton(title: "", target: self, action: #selector(handlePrev))
// return item return item
case .play: case .play:
let item = NSCustomTouchBarItem(identifier: identifier) let item = NSCustomTouchBarItem(identifier: identifier)
item.view = NSButton(title: "", target: self, action: #selector(handlePlay)) item.view = NSButton(title: "", target: self, action: #selector(handlePlay))