mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Merge pull request #2421 from ern775/fix-min-brightness
fix(brightness): revert minimum brightness regression
This commit is contained in:
@@ -478,7 +478,7 @@ Singleton {
|
||||
}
|
||||
|
||||
function setBrightness(value: real): void {
|
||||
value = Math.min(1, value);
|
||||
value = Math.max(0, Math.min(1, value));
|
||||
var rounded = Math.round(value * 100);
|
||||
|
||||
// Always update internal value and trigger UI feedback immediately
|
||||
|
||||
Reference in New Issue
Block a user