use the microdelay to prevent multiple frames
This commit is contained in:
parent
c36c0ab598
commit
0b48dc87b4
|
@ -245,9 +245,9 @@ intval._watchMicro = function (err, val) {
|
||||||
if (intval._state.micro.primed && !intval._state.micro.paused && (now - intval._state.frame.start) > intval._frame.open) {
|
if (intval._state.micro.primed && !intval._state.micro.paused && (now - intval._state.frame.start) > intval._frame.open) {
|
||||||
intval._state.micro.primed = false
|
intval._state.micro.primed = false
|
||||||
intval._state.micro.time = 0
|
intval._state.micro.time = 0
|
||||||
//setTimeout( () => {
|
setTimeout( () => {
|
||||||
intval._stop()
|
intval._stop()
|
||||||
//}, intval._microDelay)
|
}, intval._microDelay)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue