Skip to content

Commit

Permalink
Fix for xair to wing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
istnv committed Mar 22, 2021
1 parent 8472e2b commit c2914f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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,
Expand Down

0 comments on commit c2914f0

Please sign in to comment.