From 8c6ace12f239bd0b2251446912ed0cd095ceea93 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Fri, 13 Aug 2021 11:22:10 -0500 Subject: [PATCH] Changes. --- Clocker/Clocker/en.lproj/Panel.xib | 4 ++-- Clocker/Panel/ParentPanelController+ModernSlider.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Clocker/Clocker/en.lproj/Panel.xib b/Clocker/Clocker/en.lproj/Panel.xib index 20037ed6..faa34c1f 100755 --- a/Clocker/Clocker/en.lproj/Panel.xib +++ b/Clocker/Clocker/en.lproj/Panel.xib @@ -262,7 +262,7 @@ - + @@ -562,7 +562,7 @@ - + diff --git a/Clocker/Panel/ParentPanelController+ModernSlider.swift b/Clocker/Panel/ParentPanelController+ModernSlider.swift index 06c6d50d..2a569b39 100644 --- a/Clocker/Panel/ParentPanelController+ModernSlider.swift +++ b/Clocker/Panel/ParentPanelController+ModernSlider.swift @@ -61,7 +61,7 @@ extension ParentPanelController { private func animateButton(_ hidden: Bool) { NSAnimationContext.runAnimationGroup({ context in context.duration = 0.5 - context.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeOut) + context.timingFunction = CAMediaTimingFunction(name: hidden ? CAMediaTimingFunctionName.easeOut : CAMediaTimingFunctionName.easeIn) resetModernSliderButton.animator().alphaValue = hidden ? 0.0 : 1.0 }, completionHandler: { [weak self] in guard let strongSelf = self else { return }