mirror of https://github.com/espruino/BangleApps
Adds button press interaction
parent
4ec1b02f25
commit
a1162ef6d3
|
@ -1,2 +1,3 @@
|
|||
0.01: Please forgive me
|
||||
0.02: Now tells time!
|
||||
0.03: Interaction
|
||||
|
|
|
@ -19,8 +19,6 @@ let intCaster = num => Number(num);
|
|||
|
||||
var drawTimeout;
|
||||
|
||||
Bangle.loadWidgets();
|
||||
|
||||
function renderWatch(l) {
|
||||
g.setFont("4x6",2);
|
||||
|
||||
|
@ -372,4 +370,7 @@ var layout = new Layout( {
|
|||
|
||||
// Clear the screen once, at startup
|
||||
g.clear();
|
||||
Bangle.loadWidgets();
|
||||
Bangle.drawWidgets();
|
||||
Bangle.setUI("clock");
|
||||
layout.render();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "Barcode clock",
|
||||
"shortName":"Barcode clock",
|
||||
"icon": "barcode.icon.png",
|
||||
"version":"0.02",
|
||||
"version":"0.03",
|
||||
"description": "EAN-8 compatible barcode clock. Format (c: checksum): [HHmm] [MM9c]",
|
||||
"tags": "barcode,ean,ean-8,watchface,clock,clockface",
|
||||
"type": "clock",
|
||||
|
|
Loading…
Reference in New Issue