change operator to not nullify 0 as well
parent
cfd7f4b11c
commit
45be15b643
|
|
@ -13,7 +13,7 @@
|
|||
E.showMenu({
|
||||
"" : { "title" : "BackLite" },
|
||||
'Brightness': {
|
||||
value: 0.3|settings.brightness,
|
||||
value: settings.brightness||0,
|
||||
min: 0.1, max: 1,
|
||||
step: 0.1,
|
||||
onchange: v => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue