From 61337a07f26bcbaf44d19d965a93e415815397d5 Mon Sep 17 00:00:00 2001 From: John A Knight Jr Date: Mon, 12 Apr 2021 13:23:41 -0700 Subject: [PATCH] Fix remaining switch/toggle actions --- README.md | 5 ++++- index.js | 4 ++-- package.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 80f22a7..d13c76c 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/index.js b/index.js index aaa164f..91ccd12 100644 --- a/index.js +++ b/index.js @@ -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; @@ -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; diff --git a/package.json b/package.json index 29260e6..241edc2 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "legacy": [ "wing" ], - "version": "1.0.2", + "version": "1.0.3", "api_version": "1.0.0", "keywords": [ "Audio", "Mixer", "Console"