From 530443d82e841ceee5d2fa7516bd36510a475949 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Sat, 10 Jul 2021 16:35:00 -0400 Subject: [PATCH] Add tooltips. --- Clocker/Panel/ParentPanelController+ModernSlider.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Clocker/Panel/ParentPanelController+ModernSlider.swift b/Clocker/Panel/ParentPanelController+ModernSlider.swift index bcd330e..6adf76e 100644 --- a/Clocker/Panel/ParentPanelController+ModernSlider.swift +++ b/Clocker/Panel/ParentPanelController+ModernSlider.swift @@ -24,6 +24,9 @@ extension ParentPanelController { goForwardButton.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?.backgroundColor = NSColor.clear modernSlider.setAccessibility("ModernSlider")