Logging when frames restart. I am still screwing up.
This commit is contained in:
parent
243f45c836
commit
ca8f6b2be9
|
@ -292,11 +292,13 @@ intval.frame = function (dir = null, time = null) {
|
||||||
if (dir) {
|
if (dir) {
|
||||||
log.info('frame', { pausing : time - intval._state.frame.open })
|
log.info('frame', { pausing : time - intval._state.frame.open })
|
||||||
setTimeout( () => {
|
setTimeout( () => {
|
||||||
|
log.info('frame', 'restarting')
|
||||||
intval._state.frame.paused = false
|
intval._state.frame.paused = false
|
||||||
intval._startFwd()
|
intval._startFwd()
|
||||||
}, time - intval._state.frame.open)
|
}, time - intval._state.frame.open)
|
||||||
} else {
|
} else {
|
||||||
setTimeout( () => {
|
setTimeout( () => {
|
||||||
|
log.info('frame', 'restarting')
|
||||||
intval._state.frame.paused = false
|
intval._state.frame.paused = false
|
||||||
intval._startBwd()
|
intval._startBwd()
|
||||||
}, time - intval._state.frame.open)
|
}, time - intval._state.frame.open)
|
||||||
|
|
Loading…
Reference in New Issue