Skip to content

Commit

Permalink
Removed the +1 so that the list is now accurate with the inputted values
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyjg00 authored and theeldestelder committed Nov 2, 2019
1 parent b8cc558 commit fe0ce95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/js/dmx.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function setRange(channelStart, channelEnd, value) {
const channels = {};
for (let i = channelStart; i <= channelEnd; i += 1) {
// DMX is 1-indexed. This should be the only place where the +1 is added
channels[i + 1] = value;
channels[i] = value;
}
parent.parent.universe.update(channels);
}
Expand Down

0 comments on commit fe0ce95

Please sign in to comment.