Browse Source

Add tooltips.

pull/101/head
Abhishek 4 years ago
parent
commit
530443d82e
  1. 3
      Clocker/Panel/ParentPanelController+ModernSlider.swift

3
Clocker/Panel/ParentPanelController+ModernSlider.swift

@ -24,6 +24,9 @@ extension ParentPanelController {
goForwardButton.isContinuous = true goForwardButton.isContinuous = true
goBackwardsButton.isContinuous = true goBackwardsButton.isContinuous = true
goBackwardsButton.toolTip = "Navigate 15 mins back"
goForwardButton.toolTip = "Navigate 15 mins forward"
modernSlider.enclosingScrollView?.scrollerInsets = NSEdgeInsets(top: 0, left: 0, bottom: 0, right: 0) modernSlider.enclosingScrollView?.scrollerInsets = NSEdgeInsets(top: 0, left: 0, bottom: 0, right: 0)
modernSlider.enclosingScrollView?.backgroundColor = NSColor.clear modernSlider.enclosingScrollView?.backgroundColor = NSColor.clear
modernSlider.setAccessibility("ModernSlider") modernSlider.setAccessibility("ModernSlider")

Loading…
Cancel
Save