Fix Brightness step size
This commit is contained in:
parent
8178e96d04
commit
d66e92bafa
1 changed files with 4 additions and 2 deletions
|
|
@ -146,11 +146,13 @@ Singleton {
|
|||
}
|
||||
|
||||
function increaseBrightness(): void {
|
||||
setBrightnessDebounced(brightness + 0.1)
|
||||
var stepSize = Settings.data.brightness.brightnessStep / 100.0
|
||||
setBrightnessDebounced(brightness + stepSize)
|
||||
}
|
||||
|
||||
function decreaseBrightness(): void {
|
||||
setBrightnessDebounced(monitor.brightness - 0.1)
|
||||
var stepSize = Settings.data.brightness.brightnessStep / 100.0
|
||||
setBrightnessDebounced(monitor.brightness - stepSize)
|
||||
}
|
||||
|
||||
function getStoredBrightness(): real {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue