mirror of https://github.com/espruino/BangleApps
runplus - Draw arrows last to prevent right side being cut of
parent
2f6a56ce97
commit
e8194f1de4
|
@ -270,7 +270,6 @@ function updateUI(resetHrLast) { // Update UI, only draw if warranted by change
|
||||||
}
|
}
|
||||||
hr = hrmstat.getValue();
|
hr = hrmstat.getValue();
|
||||||
//if (h!=0) hr = h;
|
//if (h!=0) hr = h;
|
||||||
drawArrows();
|
|
||||||
if (hr && hr!=hrLast) {
|
if (hr && hr!=hrLast) {
|
||||||
drawHR();
|
drawHR();
|
||||||
drawZones();
|
drawZones();
|
||||||
|
@ -279,6 +278,7 @@ function updateUI(resetHrLast) { // Update UI, only draw if warranted by change
|
||||||
drawWaitHR();
|
drawWaitHR();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
drawArrows();
|
||||||
//g.setColor(g.theme.fg).drawLine(175/2,0,175/2,175).drawLine(0,175/2,175,175/2); // Used to align UI elements.
|
//g.setColor(g.theme.fg).drawLine(175/2,0,175/2,175).drawLine(0,175/2,175,175/2); // Used to align UI elements.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue