diff --git a/MonitorControl.xcodeproj/project.pbxproj b/MonitorControl.xcodeproj/project.pbxproj
index 666fef7..bb0d8ce 100644
--- a/MonitorControl.xcodeproj/project.pbxproj
+++ b/MonitorControl.xcodeproj/project.pbxproj
@@ -843,7 +843,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
- MARKETING_VERSION = 4.1.0;
+ MARKETING_VERSION = 4.2.0;
PRODUCT_BUNDLE_IDENTIFIER = me.guillaumeb.MonitorControl;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -878,7 +878,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
- MARKETING_VERSION = 4.1.0;
+ MARKETING_VERSION = 4.2.0;
PRODUCT_BUNDLE_IDENTIFIER = me.guillaumeb.MonitorControl;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
diff --git a/MonitorControl/Info.plist b/MonitorControl/Info.plist
index 508171f..f055581 100644
--- a/MonitorControl/Info.plist
+++ b/MonitorControl/Info.plist
@@ -19,7 +19,7 @@
CFBundleShortVersionString
$(MARKETING_VERSION)
CFBundleVersion
- 7045
+ 7048
LSApplicationCategoryType
public.app-category.utilities
LSMinimumSystemVersion
diff --git a/MonitorControl/Support/AppDelegate.swift b/MonitorControl/Support/AppDelegate.swift
index 7e6ea15..e6df6e6 100644
--- a/MonitorControl/Support/AppDelegate.swift
+++ b/MonitorControl/Support/AppDelegate.swift
@@ -41,7 +41,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
displaysPrefsVc!,
aboutPrefsVc!,
],
- style: preferencePaneStyle,
+ style: self.preferencePaneStyle,
animated: true
)
}()
diff --git a/MonitorControl/Support/DisplayManager.swift b/MonitorControl/Support/DisplayManager.swift
index b828125..c09be41 100644
--- a/MonitorControl/Support/DisplayManager.swift
+++ b/MonitorControl/Support/DisplayManager.swift
@@ -40,8 +40,8 @@ class DisplayManager {
self.gammaActivityEnforcer.orderFrontRegardless()
}
- internal var shades: [CGDirectDisplayID: NSWindow] = [:]
- internal var shadeGrave: [NSWindow] = []
+ var shades: [CGDirectDisplayID: NSWindow] = [:]
+ var shadeGrave: [NSWindow] = []
func isDisqualifiedFromShade(_ displayID: CGDirectDisplayID) -> Bool {
if CGDisplayIsInHWMirrorSet(displayID) != 0 || CGDisplayIsInMirrorSet(displayID) != 0 {
@@ -61,7 +61,7 @@ class DisplayManager {
return false
}
- internal func createShadeOnDisplay(displayID: CGDirectDisplayID) -> NSWindow? {
+ func createShadeOnDisplay(displayID: CGDirectDisplayID) -> NSWindow? {
if let screen = DisplayManager.getByDisplayID(displayID: displayID) {
let shade = NSWindow(contentRect: .init(origin: NSPoint(x: 0, y: 0), size: .init(width: 10, height: 1)), styleMask: [], backing: .buffered, defer: false)
shade.title = "Monitor Control Window Shade for Display " + String(displayID)
diff --git a/MonitorControl/Support/KeyboardShortcutsManager.swift b/MonitorControl/Support/KeyboardShortcutsManager.swift
index 0a7ab1c..8a837eb 100644
--- a/MonitorControl/Support/KeyboardShortcutsManager.swift
+++ b/MonitorControl/Support/KeyboardShortcutsManager.swift
@@ -37,22 +37,22 @@ class KeyboardShortcutsManager {
self.mute()
}
KeyboardShortcuts.onKeyUp(for: .brightnessUp) { [self] in
- disengage()
+ self.disengage()
}
KeyboardShortcuts.onKeyUp(for: .brightnessDown) { [self] in
- disengage()
+ self.disengage()
}
KeyboardShortcuts.onKeyUp(for: .contrastUp) { [self] in
- disengage()
+ self.disengage()
}
KeyboardShortcuts.onKeyUp(for: .contrastDown) { [self] in
- disengage()
+ self.disengage()
}
KeyboardShortcuts.onKeyUp(for: .volumeUp) { [self] in
- disengage()
+ self.disengage()
}
KeyboardShortcuts.onKeyUp(for: .volumeDown) { [self] in
- disengage()
+ self.disengage()
}
}
diff --git a/MonitorControlHelper/Info.plist b/MonitorControlHelper/Info.plist
index 22f71a2..5b9f772 100644
--- a/MonitorControlHelper/Info.plist
+++ b/MonitorControlHelper/Info.plist
@@ -19,7 +19,7 @@
CFBundleShortVersionString
$(MARKETING_VERSION)
CFBundleVersion
- 7036
+ 7048
LSApplicationCategoryType
public.app-category.utilities
LSBackgroundOnly