minor tweaks after merge
parent
1323bd2bd6
commit
1bf8ac0ed7
|
|
@ -800,12 +800,12 @@
|
||||||
{"name":"torch.wid.js","url":"widget.js"},
|
{"name":"torch.wid.js","url":"widget.js"},
|
||||||
{"name":"torch.img","url":"app-icon.js","evaluate":true}
|
{"name":"torch.img","url":"app-icon.js","evaluate":true}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{ "id": "widid",
|
{ "id": "widid",
|
||||||
"name": "My NRF ID Widget",
|
"name": "Bluetooth ID Widget",
|
||||||
"icon": "widid.png",
|
"icon": "widget.png",
|
||||||
"version":"0.01",
|
"version":"0.01",
|
||||||
"description": "Display the last two tuple of your Bangle.js address in the widget section.",
|
"description": "Display the last two tuple of your Bangle.js address in the widget section. This is useful for figuring out which Bangle.js to connect to if you have more than one Bangle.js!",
|
||||||
"tags": "widget",
|
"tags": "widget",
|
||||||
"type":"widget",
|
"type":"widget",
|
||||||
"storage": [
|
"storage": [
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
function draw() {
|
function draw() {
|
||||||
var x = xpos,
|
var x = xpos,
|
||||||
y = 0;
|
y = 0;
|
||||||
g.setColor(0, 0.5, 1).setFont("6x8", 1);
|
g.reset().setColor(0, 0.5, 1).setFont("6x8", 1);
|
||||||
g.drawString(id[4], x, 0, true);
|
g.drawString(id[4], x, 0, true);
|
||||||
g.drawString(id[5], x, 10, true);
|
g.drawString(id[5], x, 10, true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue