alot of effects fixes
This commit is contained in:
+2
-1
@@ -95,7 +95,8 @@ async function executeQueue() {
|
||||
const maxDist = Math.max(dist1, dist2);
|
||||
|
||||
if (motionQueue.length > 0) {
|
||||
const queueAction = MotionEffects.getQueueAction(target.mode, maxDist, CONFIG.BLEND_THRESHOLD_STEPS);
|
||||
const nextTarget = motionQueue[0];
|
||||
const queueAction = MotionEffects.getQueueAction(target.mode, nextTarget.mode, maxDist, CONFIG.BLEND_THRESHOLD_STEPS);
|
||||
if (queueAction.action === 'wait') {
|
||||
clearInterval(queueCheckInterval);
|
||||
setTimeout(executeQueue, queueAction.delay);
|
||||
|
||||
Reference in New Issue
Block a user