mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
suppress brightness OSD when operating from cc
This commit is contained in:
@@ -66,9 +66,11 @@ Singleton {
|
||||
}
|
||||
}
|
||||
|
||||
function setBrightness(percentage, device) {
|
||||
function setBrightness(percentage, device, suppressOsd) {
|
||||
setBrightnessInternal(percentage, device)
|
||||
brightnessChanged()
|
||||
if (!suppressOsd) {
|
||||
brightnessChanged()
|
||||
}
|
||||
}
|
||||
|
||||
function setCurrentDevice(deviceName, saveToSession = false) {
|
||||
|
||||
Reference in New Issue
Block a user