diff --git a/Clocker/Clocker/en.lproj/Panel.xib b/Clocker/Clocker/en.lproj/Panel.xib index 20037ed..faa34c1 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 06c6d50..2a569b3 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 }