mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-04 19:26:19 +00:00
Settings - Display: Allow immediate brightness change for internal monitors.
This commit is contained in:
@@ -167,6 +167,11 @@ ColumnLayout {
|
||||
to: 1
|
||||
value: brightnessMonitor ? brightnessMonitor.brightness : 0.5
|
||||
stepSize: 0.01
|
||||
onMoved: (value) => {
|
||||
if (brightnessMonitor.method === "internal") {
|
||||
brightnessMonitor.setBrightness(value)
|
||||
}
|
||||
}
|
||||
onPressedChanged: (pressed, value) => brightnessMonitor.setBrightness(value)
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user