Merge pull request #2250 from thyttan/torch

[Torch] Widget field background follows torch colour
master
Gordon Williams 2022-11-09 10:34:05 +00:00 committed by GitHub
commit c693ffad66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -5,3 +5,4 @@
0.05: Default full Brightness
0.06: Press upper left corner to exit on Bangle.js 2
0.07: Code tweaks
0.08: Force background of widget field to the torch colour

View File

@ -11,6 +11,7 @@ Bangle.setLCDBrightness(1);
Bangle.setLCDPower(1);
Bangle.setLCDTimeout(0);
g.reset();
g.setTheme({bg:settings.bg,fg:"#000"});
g.setColor(settings.bg);
g.fillRect(0,0,g.getWidth(),g.getHeight());
Bangle.setUI({

View File

@ -2,7 +2,7 @@
"id": "torch",
"name": "Torch",
"shortName": "Torch",
"version": "0.07",
"version": "0.08",
"description": "Turns screen white to help you see in the dark. Select from the launcher or press BTN1,BTN3,BTN1,BTN3 quickly to start when in any app that shows widgets on Bangle.js 1. You can also set the color through the app's setting menu.",
"icon": "app.png",
"tags": "tool,torch",