diff --git a/Clocker/Clocker/en.lproj/Panel.xib b/Clocker/Clocker/en.lproj/Panel.xib
index 2f41011..7f3c7b1 100755
--- a/Clocker/Clocker/en.lproj/Panel.xib
+++ b/Clocker/Clocker/en.lproj/Panel.xib
@@ -22,6 +22,7 @@
+
@@ -40,7 +41,7 @@
-
+
@@ -411,23 +412,8 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -436,14 +422,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
-
-
+
diff --git a/Clocker/Panel/ParentPanelController.swift b/Clocker/Panel/ParentPanelController.swift
index 37c3a2b..5841463 100644
--- a/Clocker/Panel/ParentPanelController.swift
+++ b/Clocker/Panel/ParentPanelController.swift
@@ -83,6 +83,8 @@ class ParentPanelController: NSWindowController {
@IBOutlet var modernSlider: NSCollectionView!
+ @IBOutlet var roundedDateView: NSView!
+
var defaultPreferences: [Data] {
return DataStore.shared().timezones()
}
@@ -175,6 +177,17 @@ class ParentPanelController: NSWindowController {
modernSlider.enclosingScrollView?.scrollerInsets = NSEdgeInsets(top: 0, left: 0, bottom: 100, right: 0)
modernSlider.delegate = self
}
+
+ if roundedDateView != nil {
+ setupRoundedDateView()
+ }
+ }
+
+ private func setupRoundedDateView() {
+ roundedDateView.wantsLayer = true
+ roundedDateView.layer?.cornerRadius = 12.0
+ roundedDateView.layer?.masksToBounds = false
+ roundedDateView.layer?.backgroundColor = Themer.shared().textBackgroundColor().cgColor
}
@objc func timezoneGonnaChange() {
@@ -308,6 +321,7 @@ class ParentPanelController: NSWindowController {
sharingButton.image = sharedThemer.sharingImage()
sliderDatePicker.textColor = sharedThemer.mainTextColor()
+ roundedDateView.layer?.backgroundColor = Themer.shared().textBackgroundColor().cgColor
updateReviewViewFontColor()
}