Push dev work to master #2
2
index.js
2
index.js
|
@ -487,12 +487,14 @@ function seq () {
|
|||
let delay = intval._state.frame.delay
|
||||
|
||||
if (intval._state.sequence && sequence._state.active) {
|
||||
log.info('sequence', { method : 'release' , stop: true })
|
||||
return sequence.setStop(() => {
|
||||
intval._state.sequence = false
|
||||
return cb()
|
||||
})
|
||||
} else {
|
||||
console.time('sequence time')
|
||||
log.info('sequence', { method : 'release', start : true })
|
||||
intval._state.sequence = true
|
||||
sequence.start({
|
||||
loop : [ (next) => {
|
||||
|
|
Loading…
Reference in New Issue