Adds button press interaction

pull/1897/head
Matrixes 2022-03-29 09:24:05 +02:00
parent 4ec1b02f25
commit a1162ef6d3
3 changed files with 5 additions and 3 deletions

View File

@ -1,2 +1,3 @@
0.01: Please forgive me
0.02: Now tells time!
0.03: Interaction

View File

@ -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();

View File

@ -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",