#31 : Add comments
This commit is contained in:
@@ -269,7 +269,7 @@
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
offsetPage(animated)
|
offsetPage(animated)
|
||||||
const jumped = jumpIfNeeded()
|
const jumped = jumpIfNeeded()
|
||||||
!jumped && applyAutoplayIfNeeded({ delayMs: _duration })
|
!jumped && applyAutoplayIfNeeded({ delayMs: _duration }) // while offset animation is in progress (delayMs = _duration ms) wait for it
|
||||||
}, offsetDelayMs)
|
}, offsetDelayMs)
|
||||||
}, { animated })
|
}, { animated })
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user