From e4519a8286af1b667366b569ea22c78656454832 Mon Sep 17 00:00:00 2001 From: David Volovskiy Date: Thu, 6 Mar 2025 08:22:26 -0500 Subject: [PATCH] Seconds setting will update every 3 seconds Since we have the wheel in incrmeents of 5/100, rather than 5/60, it'll be more precise to show jumps of 3 seconds, not 5. --- apps/daisy/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/daisy/app.js b/apps/daisy/app.js index e1f3a07d4..45213426d 100644 --- a/apps/daisy/app.js +++ b/apps/daisy/app.js @@ -682,7 +682,7 @@ var drawTimeout; // schedule a draw for the next minute or every 5 seconds function queueDraw() { - let delay = (settings.ring == 'Seconds') ? (5000 - (Date.now() % 5000)) : (60000 - (Date.now() % 60000)); + let delay = (settings.ring == 'Seconds') ? (3000 - (Date.now() % 3000)) : (60000 - (Date.now() % 60000)); if (drawTimeout) clearTimeout(drawTimeout); drawTimeout = setTimeout(function() { drawTimeout = undefined;