hwt: Center "Wash ..." text properly
parent
d51c6679fe
commit
c5536ee49a
|
|
@ -1889,7 +1889,7 @@
|
|||
{
|
||||
"id": "widhwt",
|
||||
"name": "Hand Wash Timer",
|
||||
"version": "0.02-rc7",
|
||||
"version": "0.02-rc8",
|
||||
"description": "On Bangle.js 1 swipe your wrist over the watch face to start your personal Bangle.js 1 hand wash timer. On Bangle.js2 the Pattern Launcher is recommended to start the timer. Start washing after the short buzz and stop after the long buzz 35sec. later.",
|
||||
"icon": "widget.png",
|
||||
"type": "widget",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@
|
|||
// with our own message
|
||||
g.clearRect(38, 68, 138, 108);
|
||||
g.drawRect(38, 68, 138, 108);
|
||||
g.setFontVector(13).drawString("Wash...", 60, 82);
|
||||
g.setFontVector(13).setFontAlign(0, 0, 0).drawString("Wash...",
|
||||
g.getWidth()/2,
|
||||
g.getHeight()/2);
|
||||
|
||||
Bangle.buzz();
|
||||
setTimeout(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue