Prettified Code!

This commit is contained in:
zero01101 2023-07-22 16:01:24 +00:00 committed by GitHub Action
parent 4afb0e0f6a
commit 5abf5914a3

View file

@ -62,9 +62,12 @@ const _monitorProgress = (bb, oncheck = null) => {
}
const timeSpent = performance.now() - init;
setTimeout(() => {
setTimeout(
() => {
if (running) _checkProgress();
}, Math.max(0, minDelay - timeSpent));
},
Math.max(0, minDelay - timeSpent)
);
};
_checkProgress();