mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-05-16 14:15:55 -06:00
Fixed contrast and volume sliders not working in beta6
This commit is contained in:
parent
994d9938b0
commit
3b66d3e57c
3 changed files with 5 additions and 5 deletions
|
|
@ -19,7 +19,7 @@
|
|||
<key>CFBundleShortVersionString</key>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1849</string>
|
||||
<string>1864</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.utilities</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
|
|
|
|||
|
|
@ -31,10 +31,10 @@ class SliderHandler {
|
|||
self.display.toggleMute(fromVolumeSlider: true)
|
||||
}
|
||||
|
||||
if self.display.isSw() {
|
||||
_ = self.display.setSwBrightness(value: UInt8(value))
|
||||
} else if self.cmd == DDC.Command.brightness {
|
||||
if !(self.display.isSw()) {
|
||||
_ = self.display.writeDDCValues(command: self.cmd, value: UInt16(value))
|
||||
} else if self.cmd == DDC.Command.brightness {
|
||||
_ = self.display.setSwBrightness(value: UInt8(value))
|
||||
}
|
||||
self.display.saveValue(value, for: self.cmd)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
<key>CFBundleShortVersionString</key>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1849</string>
|
||||
<string>1864</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.utilities</string>
|
||||
<key>LSBackgroundOnly</key>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue