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
parent
ff906ffe25
commit
e4519a8286
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue