diff --git a/Stats.xcodeproj/project.pbxproj b/Stats.xcodeproj/project.pbxproj
index aa4e41e3..5c1fde85 100644
--- a/Stats.xcodeproj/project.pbxproj
+++ b/Stats.xcodeproj/project.pbxproj
@@ -2867,7 +2867,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.5;
- MARKETING_VERSION = 2.12.2;
+ MARKETING_VERSION = 2.12.3;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = eu.exelban.Stats;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -2904,7 +2904,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.5;
- MARKETING_VERSION = 2.12.2;
+ MARKETING_VERSION = 2.12.3;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = eu.exelban.Stats;
PRODUCT_NAME = "$(TARGET_NAME)";
diff --git a/Stats/Supporting Files/Info.plist b/Stats/Supporting Files/Info.plist
index 331ab856..c8213a8d 100755
--- a/Stats/Supporting Files/Info.plist
+++ b/Stats/Supporting Files/Info.plist
@@ -17,7 +17,7 @@
CFBundleShortVersionString
$(MARKETING_VERSION)
CFBundleVersion
- 754
+ 756
Description
Simple macOS system monitor in your menu bar
LSApplicationCategoryType
diff --git a/Stats/Views/Settings.swift b/Stats/Views/Settings.swift
index 4755e5d8..fe90e0ab 100644
--- a/Stats/Views/Settings.swift
+++ b/Stats/Views/Settings.swift
@@ -219,14 +219,34 @@ class SettingsWindow: NSWindow, NSWindowDelegate, NSToolbarDelegate {
private class MainView: NSView {
fileprivate let container: NSStackView = NSStackView()
+ private let background: NSVisualEffectView = {
+ let view = NSVisualEffectView(frame: NSRect.zero)
+ view.blendingMode = .withinWindow
+ view.material = .contentBackground
+ view.state = .active
+ view.translatesAutoresizingMaskIntoConstraints = false
+ view.setContentHuggingPriority(.defaultLow, for: .horizontal)
+ view.setContentHuggingPriority(.defaultLow, for: .vertical)
+ view.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
+ view.setContentCompressionResistancePriority(.defaultLow, for: .vertical)
+ return view
+ }()
+
override init(frame: NSRect) {
super.init(frame: NSRect.zero)
+ self.translatesAutoresizingMaskIntoConstraints = false
self.container.translatesAutoresizingMaskIntoConstraints = false
+ self.addSubview(self.background, positioned: .below, relativeTo: .none)
self.addSubview(self.container)
NSLayoutConstraint.activate([
+ self.background.leadingAnchor.constraint(equalTo: leadingAnchor),
+ self.background.trailingAnchor.constraint(equalTo: trailingAnchor),
+ self.background.topAnchor.constraint(equalTo: topAnchor),
+ self.background.bottomAnchor.constraint(equalTo: bottomAnchor),
+
self.container.leadingAnchor.constraint(equalTo: leadingAnchor),
self.container.trailingAnchor.constraint(equalTo: trailingAnchor),
self.container.topAnchor.constraint(equalTo: topAnchor, constant: Constants.Popup.headerHeight*1.4),
diff --git a/Widgets/Supporting Files/Info.plist b/Widgets/Supporting Files/Info.plist
index 10eeb436..8cb7b9cc 100644
--- a/Widgets/Supporting Files/Info.plist
+++ b/Widgets/Supporting Files/Info.plist
@@ -11,9 +11,9 @@
CFBundleInfoDictionaryVersion
6.0
CFBundleShortVersionString
- 2.12.2
+ 2.12.3
CFBundleVersion
- 754
+ 756
NSExtension
NSExtensionPointIdentifier