aclock: remove hardcoded hour buzz (we have widchime now)
parent
323006f742
commit
169c7b119c
|
|
@ -272,7 +272,7 @@
|
||||||
{ "id": "aclock",
|
{ "id": "aclock",
|
||||||
"name": "Analog Clock",
|
"name": "Analog Clock",
|
||||||
"icon": "clock-analog.png",
|
"icon": "clock-analog.png",
|
||||||
"version": "0.13",
|
"version": "0.14",
|
||||||
"description": "An Analog Clock",
|
"description": "An Analog Clock",
|
||||||
"tags": "clock",
|
"tags": "clock",
|
||||||
"type":"clock",
|
"type":"clock",
|
||||||
|
|
|
||||||
|
|
@ -8,3 +8,4 @@
|
||||||
0.11: shift face down for widget area, maximize face size, 0 pad single digit date, use locale for date
|
0.11: shift face down for widget area, maximize face size, 0 pad single digit date, use locale for date
|
||||||
0.12: Fix regression after 0.11
|
0.12: Fix regression after 0.11
|
||||||
0.13: Fix broken date padding (fix #376)
|
0.13: Fix broken date padding (fix #376)
|
||||||
|
0.14: Remove hardcoded hour buzz (you can install widchime if you miss it)
|
||||||
|
|
|
||||||
|
|
@ -113,9 +113,6 @@ const onMinute = () => {
|
||||||
g.setColor(1, 1, 0.9);
|
g.setColor(1, 1, 0.9);
|
||||||
// Minute
|
// Minute
|
||||||
hand((360 * currentDate.getMinutes()) / 60, -8, faceWidth - 10);
|
hand((360 * currentDate.getMinutes()) / 60, -8, faceWidth - 10);
|
||||||
if (currentDate.getHours() >= 0 && currentDate.getMinutes() === 0) {
|
|
||||||
Bangle.buzz();
|
|
||||||
}
|
|
||||||
drawDate();
|
drawDate();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue