mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Fix Brightness step size
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user