rep: setUI() on init, in case recorder cleared handlers
parent
784c7b203a
commit
94ebd6bf49
|
|
@ -184,7 +184,7 @@ var _a, _b, _c;
|
|||
State.prototype.currentRepIndex = function () {
|
||||
var elapsed = this.getElapsedTotal();
|
||||
var ent;
|
||||
for (var i = 0; (ent = reps_1[i]); i++)
|
||||
for (var i = 0; ent = reps_1[i]; i++)
|
||||
if (elapsed < ent.accDur)
|
||||
return i;
|
||||
return null;
|
||||
|
|
@ -252,6 +252,7 @@ var _a, _b, _c;
|
|||
};
|
||||
var init = function () {
|
||||
g.clear();
|
||||
layout_1.setUI();
|
||||
drawRep_1();
|
||||
Bangle.drawWidgets();
|
||||
};
|
||||
|
|
|
|||
|
|
@ -316,6 +316,7 @@ const buzzNewRep = () => {
|
|||
|
||||
const init = () => {
|
||||
g.clear();
|
||||
layout.setUI();
|
||||
drawRep();
|
||||
|
||||
Bangle.drawWidgets();
|
||||
|
|
|
|||
Loading…
Reference in New Issue