|
|
@ -143,10 +143,12 @@ class ParentPanelController: NSWindowController { |
|
|
|
futureSliderRangeObserver = UserDefaults.standard.observe(\.sliderDayRange, options: [.new]) { _, change in |
|
|
|
futureSliderRangeObserver = UserDefaults.standard.observe(\.sliderDayRange, options: [.new]) { _, change in |
|
|
|
if change.newValue != nil { |
|
|
|
if change.newValue != nil { |
|
|
|
self.adjustFutureSliderBasedOnPreferences() |
|
|
|
self.adjustFutureSliderBasedOnPreferences() |
|
|
|
|
|
|
|
if self.modernSlider != nil { |
|
|
|
self.modernSlider.reloadData() |
|
|
|
self.modernSlider.reloadData() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override func awakeFromNib() { |
|
|
|
override func awakeFromNib() { |
|
|
|
super.awakeFromNib() |
|
|
|
super.awakeFromNib() |
|
|
|