From 145b983b230b823b9949eeaef76b3c7fff4277d7 Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Fri, 1 Mar 2024 08:53:58 +0000 Subject: [PATCH] multitimer: fix missing scroller (introduced, b9e73d47f1) --- apps/multitimer/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/multitimer/app.js b/apps/multitimer/app.js index 942254a2a..6d2c2f237 100644 --- a/apps/multitimer/app.js +++ b/apps/multitimer/app.js @@ -78,7 +78,7 @@ function drawTimers() { }, 1000 - (timers[idx].t % 1000)); } - E.showScroller({ + const s = E.showScroller({ h : 40, c : timers.length+2, back : function() {load();}, draw : (idx, r) => { @@ -138,7 +138,7 @@ function timerMenu(idx) { }, 1000 - (a.t % 1000)); } - E.showScroller({ + const s = E.showScroller({ h : 40, c : 5, back : function() { clearInt(); @@ -353,7 +353,7 @@ function drawSw() { }, 1000 - (sw[idx].t % 1000)); } - E.showScroller({ + const s = E.showScroller({ h : 40, c : sw.length+2, back : function() {load();}, draw : (idx, r) => { @@ -434,7 +434,7 @@ function swMenu(idx, a) { setUI(); } - E.showScroller({ + const s = E.showScroller({ h : 40, c : 5, back : function() { clearInt();