From 479190d12b3a36c69246cdf56ca942bf6928d747 Mon Sep 17 00:00:00 2001 From: Toxblh Date: Fri, 27 Apr 2018 23:38:13 +0100 Subject: [PATCH] fix center line for apple script --- MTMR/ScrollViewItem.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MTMR/ScrollViewItem.swift b/MTMR/ScrollViewItem.swift index 8a8c961..850039b 100644 --- a/MTMR/ScrollViewItem.swift +++ b/MTMR/ScrollViewItem.swift @@ -10,7 +10,7 @@ class ScrollViewItem: NSCustomTouchBarItem { stackView.orientation = .horizontal let scrollView = NSScrollView(frame: CGRect(origin: .zero, size: stackView.fittingSize)) scrollView.documentView = stackView - scrollView.documentView?.bounds.origin = CGPoint(x: 0.0, y: -5.5) + scrollView.documentView?.bounds.origin = CGPoint(x: 0.0, y: -2.5) self.view = scrollView }