diff --git a/MTMR/TouchBarController.swift b/MTMR/TouchBarController.swift index 873c2a7..e35a3b1 100644 --- a/MTMR/TouchBarController.swift +++ b/MTMR/TouchBarController.swift @@ -206,9 +206,8 @@ class TouchBarController: NSObject, NSTouchBarDelegate { } if case .image(let source)? = item.additionalParameters[.image], let item = barItem as? CustomButtonTouchBarItem { let button = item.button! - button.image = source.image - button.imagePosition = .imageLeading - button.imageHugsTitle = true + button.cell?.image = source.image + button.cell?.image?.size = NSSize(width: 36, height: 36) button.bezelColor = .clear } return barItem