Skip to content

Commit a44f112

Browse files
committed
fix(brightness): revert min brightness regression
1 parent 48fe0f9 commit a44f112

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-
value = Math.min(1, value);
481+
value = Math.max(0, Math.min(1, value));
482482
var rounded = Math.round(value * 100);
483483

484484
// Always update internal value and trigger UI feedback immediately

0 commit comments

Comments
 (0)