change operator to not nullify 0 as well

master
RKBoss6 2025-07-25 08:46:01 -04:00 committed by GitHub
parent cfd7f4b11c
commit 45be15b643
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 => {