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.
master
David Volovskiy 2025-03-06 08:22:26 -05:00
parent ff906ffe25
commit e4519a8286
1 changed files with 1 additions and 1 deletions

View File

@ -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;