diff --git a/Clocker/Panel/ParentPanelController.swift b/Clocker/Panel/ParentPanelController.swift index c7bbc89c..1c6dc9a5 100644 --- a/Clocker/Panel/ParentPanelController.swift +++ b/Clocker/Panel/ParentPanelController.swift @@ -490,6 +490,21 @@ class ParentPanelController: NSWindowController { scrollViewHeight.constant = (screenHeight() - 100) } } + + if DataStore.shared().shouldDisplay(.futureSlider) { + let isModernSliderDisplayed = DataStore.shared().retrieve(key: CLDisplayFutureSliderKey) as? NSNumber ?? 0 + if isModernSliderDisplayed == 0 { + if scrollViewHeight.constant >= (screenHeight() - 200) { + scrollViewHeight.constant = (screenHeight() - 300) + } + } else { + if scrollViewHeight.constant >= (screenHeight() - 200) { + scrollViewHeight.constant = (screenHeight() - 200) + } + } + + + } } func updateDefaultPreferences() {