Browse Source

Minor tweaks.

pull/92/head
Abhishek 4 years ago
parent
commit
e7e82c1d44
  1. 18
      Clocker/Panel/ParentPanelController.swift

18
Clocker/Panel/ParentPanelController.swift

@ -169,14 +169,16 @@ class ParentPanelController: NSWindowController {
showDebugVersionViewIfNeccesary()
// #if DEBUG
// if #available(macOS 10.16, *) {
// mainTableView.style = .fullWidth
// }
// #endif
modernSlider.enclosingScrollView?.scrollerInsets = NSEdgeInsets(top: 0, left: 0, bottom: 100, right: 0)
modernSlider.delegate = self
#if DEBUG
if #available(macOS 10.16, *) {
mainTableView.style = .fullWidth
}
#endif
if modernSlider != nil {
modernSlider.enclosingScrollView?.scrollerInsets = NSEdgeInsets(top: 0, left: 0, bottom: 100, right: 0)
modernSlider.delegate = self
}
}
private func showDebugVersionViewIfNeccesary() {

Loading…
Cancel
Save