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