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 () {
|
State.prototype.currentRepIndex = function () {
|
||||||
var elapsed = this.getElapsedTotal();
|
var elapsed = this.getElapsedTotal();
|
||||||
var ent;
|
var ent;
|
||||||
for (var i = 0; (ent = reps_1[i]); i++)
|
for (var i = 0; ent = reps_1[i]; i++)
|
||||||
if (elapsed < ent.accDur)
|
if (elapsed < ent.accDur)
|
||||||
return i;
|
return i;
|
||||||
return null;
|
return null;
|
||||||
|
|
@ -252,6 +252,7 @@ var _a, _b, _c;
|
||||||
};
|
};
|
||||||
var init = function () {
|
var init = function () {
|
||||||
g.clear();
|
g.clear();
|
||||||
|
layout_1.setUI();
|
||||||
drawRep_1();
|
drawRep_1();
|
||||||
Bangle.drawWidgets();
|
Bangle.drawWidgets();
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -316,6 +316,7 @@ const buzzNewRep = () => {
|
||||||
|
|
||||||
const init = () => {
|
const init = () => {
|
||||||
g.clear();
|
g.clear();
|
||||||
|
layout.setUI();
|
||||||
drawRep();
|
drawRep();
|
||||||
|
|
||||||
Bangle.drawWidgets();
|
Bangle.drawWidgets();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue