mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-11 01:18:39 +00:00
fix center line for apple script
This commit is contained in:
parent
5ed1790601
commit
479190d12b
@ -10,7 +10,7 @@ class ScrollViewItem: NSCustomTouchBarItem {
|
|||||||
stackView.orientation = .horizontal
|
stackView.orientation = .horizontal
|
||||||
let scrollView = NSScrollView(frame: CGRect(origin: .zero, size: stackView.fittingSize))
|
let scrollView = NSScrollView(frame: CGRect(origin: .zero, size: stackView.fittingSize))
|
||||||
scrollView.documentView = stackView
|
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
|
self.view = scrollView
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user