Browse Source

Build fail fix!

pull/101/head
Abhishek 4 years ago
parent
commit
b97eddd83f
  1. 2
      Clocker/Panel/ParentPanelController+ModernSlider.swift

2
Clocker/Panel/ParentPanelController+ModernSlider.swift

@ -25,7 +25,7 @@ extension ParentPanelController {
selector: #selector(collectionViewDidScroll(_:)),
name: NSView.boundsDidChangeNotification,
object: modernSlider.superview)
closestQuarterTimeRepresentation = setModernLabel()
closestQuarterTimeRepresentation = setModernSliderLabel()
let indexPaths: Set<IndexPath> = Set([IndexPath(item: modernSlider.numberOfItems(inSection: 0) / 2, section: 0)])
modernSlider.scrollToItems(at: indexPaths, scrollPosition: .centeredHorizontally)
}

Loading…
Cancel
Save