Skip to content

Commit 45be15b

Browse files
authored
change operator to not nullify 0 as well
1 parent cfd7f4b commit 45be15b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/backlite/settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
E.showMenu({
1414
"" : { "title" : "BackLite" },
1515
'Brightness': {
16-
value: 0.3|settings.brightness,
16+
value: settings.brightness||0,
1717
min: 0.1, max: 1,
1818
step: 0.1,
1919
onchange: v => {

0 commit comments

Comments
 (0)