widget_utils for lcars
parent
88fef317e5
commit
719c800934
|
|
@ -23,3 +23,4 @@
|
|||
0.23: Add warning for low flash memory.
|
||||
0.24: Add ability to disable alarm functionality.
|
||||
0.25: Add more colors to the settings and add the ability to disable the data charts+Markup.
|
||||
0.26: Use widget_utils.
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ const TIMER_IDX = "lcars";
|
|||
const SETTINGS_FILE = "lcars.setting.json";
|
||||
const locale = require('locale');
|
||||
const storage = require('Storage')
|
||||
const widget_utils = require('widget_utils');
|
||||
let settings = {
|
||||
alarm: -1,
|
||||
dataRow1: "Steps",
|
||||
|
|
@ -552,7 +553,7 @@ function draw(){
|
|||
|
||||
// After drawing the watch face, we can draw the widgets
|
||||
if(settings.fullscreen){
|
||||
for (let wd of WIDGETS) {wd.draw=()=>{};wd.area="";}
|
||||
widget_utils.hide();
|
||||
} else {
|
||||
Bangle.drawWidgets();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
"name": "LCARS Clock",
|
||||
"shortName":"LCARS",
|
||||
"icon": "lcars.png",
|
||||
"version":"0.25",
|
||||
"version":"0.26",
|
||||
"readme": "README.md",
|
||||
"supports": ["BANGLEJS2"],
|
||||
"description": "Library Computer Access Retrieval System (LCARS) clock.",
|
||||
|
|
|
|||
Loading…
Reference in New Issue