#31 : Add comments

This commit is contained in:
Vadim
2021-07-15 19:45:21 +03:00
parent 3a68ec1b2c
commit 3093984117

View File

@@ -269,7 +269,7 @@
setTimeout(() => {
offsetPage(animated)
const jumped = jumpIfNeeded()
!jumped && applyAutoplayIfNeeded({ delayMs: _duration })
!jumped && applyAutoplayIfNeeded({ delayMs: _duration }) // while offset animation is in progress (delayMs = _duration ms) wait for it
}, offsetDelayMs)
}, { animated })
}