Skip to content

Commit 034b4ad

Browse files
committed
fix(Brightness): Now it should only have a minimum value if it's using ddc
1 parent ea80510 commit 034b4ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Services/Hardware/BrightnessService.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ Singleton {
478478
}
479479

480480
function setBrightness(value: real): void {
481-
var min = Settings.data.brightness.enforceMinimum ? 0.01 : 0;
481+
var min = Settings.data.brightness.enforceMinimum && isDdc ? 0.01 : 0;
482482
value = Math.max(min, Math.min(1, value));
483483
var rounded = Math.round(value * 100);
484484

0 commit comments

Comments
 (0)