Skip to content

Commit

Permalink
Merge pull request #8 from bitfocus/fix/toggle
Browse files Browse the repository at this point in the history
Fix remaining switch/toggle actions
  • Loading branch information
JeffreyDavidsz authored Apr 14, 2021
2 parents 795033d + 61337a0 commit 0587b31
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ See also HELP.md and LICENSE
**V1.0.1**
* Fix typos on certain mute actions

**V1.0.1**
**V1.0.2**
* Fix Repo URL in HELP.md

**V1.0.3**
* Fix remaining switch/toggle actions
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1944,7 +1944,7 @@ instance.prototype.action = function(action) {
cmd = opt.strip + '/$solo';
arg = {
type: 'i',
value: setToggle(cmd, opt.$solo)
value: setToggle(cmd, opt.on)
};

break;
Expand All @@ -1953,7 +1953,7 @@ instance.prototype.action = function(action) {
cmd = opt.strip + '/led';
arg = {
type: 'i',
value: setToggle(cmd, opt.led)
value: setToggle(cmd, opt.on)
};
break;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"legacy": [
"wing"
],
"version": "1.0.2",
"version": "1.0.3",
"api_version": "1.0.0",
"keywords": [
"Audio", "Mixer", "Console"
Expand Down

0 comments on commit 0587b31

Please sign in to comment.