correct string position
parent
78cc747c43
commit
e9e9bf941a
|
|
@ -1403,7 +1403,7 @@
|
|||
"id": "metronome",
|
||||
"name": "Metronome",
|
||||
"icon": "metronome_icon.png",
|
||||
"version": "0.05",
|
||||
"version": "0.06",
|
||||
"readme": "README.md",
|
||||
"description": "Makes the watch blinking and vibrating with a given rate",
|
||||
"tags": "tool",
|
||||
|
|
|
|||
|
|
@ -3,3 +3,4 @@
|
|||
0.03: Uses mean of three time intervalls to calculate bmp
|
||||
0.04: App shows instructions, Widgets remain visible, color changed
|
||||
0.05: Buzz intensity and beats per bar can be changed via settings-app
|
||||
0.06: Correct string position
|
||||
|
|
|
|||
|
|
@ -56,8 +56,8 @@ function updateScreen() {
|
|||
}
|
||||
catch(err) {
|
||||
}
|
||||
g.setFont("Vector",48);
|
||||
g.drawString(Math.floor(bpm)+"bpm", 5, 60);
|
||||
g.setFont("Vector",40);
|
||||
g.drawString(Math.floor(bpm)+"bpm", 100, 100);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -105,7 +105,7 @@ setWatch(() => {
|
|||
interval = setInterval(updateScreen, 60000 / bpm);
|
||||
|
||||
g.clear();
|
||||
g.drawString('Touch the screen to set tempo.\nUse BTN1 to increase, and\nBTN3 to decrease bpm value by 1.', 15, 150);
|
||||
g.drawString('Touch the screen to set tempo.\nUse BTN1 to increase, and\nBTN3 to decrease bpm value by 1.', 25, 200);
|
||||
|
||||
Bangle.loadWidgets();
|
||||
Bangle.drawWidgets();
|
||||
|
|
|
|||
Loading…
Reference in New Issue