Brightness fix: Use percentage brightness to handle multiple devices correctly

This commit is contained in:
imitoy
2025-11-09 16:12:11 +08:00
parent 11fa846ae1
commit 60eed56ea7
@@ -152,7 +152,7 @@ Singleton {
}
function setBrightness(value: real): void {
value = Math.max(0, Math.min(value, 1));
value = Math.max(0, Math.min(1, value));
monitor.brightness = value;
}