Skip to content

Commit f0d09f5

Browse files
authored
Fix 'Disable Volume OSD' being not disabled on Software Only displays (MonitorControl#542)
1 parent 4886a96 commit f0d09f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

MonitorControl/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>2884</string>
22+
<string>2886</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.utilities</string>
2525
<key>LSMinimumSystemVersion</key>

MonitorControl/View Controllers/DisplaysPrefsViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class DisplaysPrefsViewController: NSViewController, PreferencePane, NSTableView
131131
cell.displayImage.image = NSImage(named: NSImage.computerName)!
132132
}
133133
// Disable Volume OSD
134-
if let externalDisplay = display as? ExternalDisplay, !externalDisplay.isVirtual {
134+
if let externalDisplay = display as? ExternalDisplay, !externalDisplay.isVirtual, !externalDisplay.isSw() {
135135
cell.disableVolumeOSDButton.state = externalDisplay.hideOsd ? .on : .off
136136
cell.disableVolumeOSDButton.isEnabled = true
137137
} else {

MonitorControlHelper/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>2884</string>
22+
<string>2886</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.utilities</string>
2525
<key>LSBackgroundOnly</key>

0 commit comments

Comments
 (0)