From c2914f00c429aa12ccb1307aecf7d04dee7f98c3 Mon Sep 17 00:00:00 2001 From: John A Knight Jr Date: Sun, 21 Mar 2021 18:33:18 -0700 Subject: [PATCH] Fix for xair to wing typo --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 0210400..a268211 100644 --- a/index.js +++ b/index.js @@ -1827,7 +1827,7 @@ instance.prototype.action = function(action) { if (slot) { // sanity check self.tempStore[slot] = stat[node]; } - r = -1; + r = undefined; // the 'store' actions are internal to this module only // r is left undefined since there is nothing to send break; @@ -1839,7 +1839,7 @@ instance.prototype.action = function(action) { var xSteps = span / (1000 / self.fadeResolution); var xDelta = Math.floor((r - oldVal) / xSteps * 10000) / 10000; if (xDelta == 0) { // already there - r = -1; + r = undefined; } else { self.crossFades[cmd] = { steps: xSteps,