Push dev work to master #2
|
@ -287,9 +287,13 @@ intval.frame = function (dir = null, time = null) {
|
|||
if (time !== 0) {
|
||||
setTimeout(intval._pause, intval._state.frame.open)
|
||||
if (dir) {
|
||||
setTimeout(intval._startFwd, (time - intval._state.frame.open))
|
||||
log.info('frame', { pausing : time - intval._state.frame.open })
|
||||
setTimeout(() => {
|
||||
log.info('frame', 'restarting after pause')
|
||||
intval._startFwd()
|
||||
}, time - intval._state.frame.open)
|
||||
} else {
|
||||
setTimeout(intval._startBwd, (time - intval._state.frame.open))
|
||||
setTimeout(intval._startBwd, time - intval._state.frame.open)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue