mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
Never allow setting brightness to 0
This commit is contained in:
parent
07735e696b
commit
3bff5cea4b
1 changed files with 1 additions and 3 deletions
|
|
@ -59,9 +59,7 @@ RowLayout {
|
|||
id: brightnessSlider
|
||||
width: parent.width
|
||||
onMoved: brightnessRoot.moved()
|
||||
// Don't allow the slider to turn off the screen
|
||||
// Please see https://git.reviewboard.kde.org/r/122505/ for more information
|
||||
from: to > 100 ? 1 : 0
|
||||
from: 1
|
||||
//stepSize: 1
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue