stopwatch: Do not register as watch
manually start clock on button, avoids conflict with quicklaunch which otherwise believes that a clock is running and reacts on touch eventsmaster
parent
35631a9266
commit
2a0cf8e44e
|
|
@ -1,2 +1,3 @@
|
||||||
0.01: first release
|
0.01: first release
|
||||||
0.02: Adjust for touch events outside of screen g dimensions
|
0.02: Adjust for touch events outside of screen g dimensions
|
||||||
|
0.03: Do not register as watch, manually start clock on button
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "stopwatch",
|
"id": "stopwatch",
|
||||||
"name": "Stopwatch Touch",
|
"name": "Stopwatch Touch",
|
||||||
"version": "0.02",
|
"version": "0.03",
|
||||||
"description": "A touch based stop watch for Bangle JS 2",
|
"description": "A touch based stop watch for Bangle JS 2",
|
||||||
"icon": "stopwatch.png",
|
"icon": "stopwatch.png",
|
||||||
"screenshots": [{"url":"screenshot1.png"},{"url":"screenshot2.png"},{"url":"screenshot3.png"}],
|
"screenshots": [{"url":"screenshot1.png"},{"url":"screenshot2.png"},{"url":"screenshot3.png"}],
|
||||||
|
|
|
||||||
|
|
@ -227,4 +227,4 @@ g.fillRect(0,0,w,h);
|
||||||
Bangle.loadWidgets();
|
Bangle.loadWidgets();
|
||||||
Bangle.drawWidgets();
|
Bangle.drawWidgets();
|
||||||
draw();
|
draw();
|
||||||
Bangle.setUI("clock"); // Show launcher when button pressed
|
setWatch(() => load(), BTN, { repeat: false, edge: "falling" });
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue