Skip to content

Commit 98745bf

Browse files
authored
Merge pull request #6166 from piyushdotcomm/fix/6038-replace-pause-with-delayExecution
fix: replace pause() with delayExecution() in updateBounds (#6038)
2 parents a8b4133 + 4a662c7 commit 98745bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/block.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ class Block {
422422

423423
if (that.bounds === null) {
424424
const delayTime = INITIAL_DELAY * Math.pow(2, loopCount);
425+
await delayExecution(delayTime);
425426
await new Promise(resolve => setTimeout(resolve, delayTime));
426427
updateBounds(loopCount + 1);
427428
} else {

0 commit comments

Comments
 (0)