config option for min brightness + clipboard config options now in settings
This commit is contained in:
@@ -232,7 +232,7 @@ Singleton {
|
||||
}
|
||||
|
||||
function setBrightness(value: real): void {
|
||||
value = Math.max(0, Math.min(1, value));
|
||||
value = Math.max(Config.services.minBrightness, Math.min(1, value));
|
||||
const rounded = Math.round(value * 100);
|
||||
if (Math.round(brightness * 100) === rounded)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user