Skip to content

Commit

Permalink
Meter only changes if level is > 0
Browse files Browse the repository at this point in the history
  • Loading branch information
fu-raz committed Nov 18, 2023
1 parent 7e2fa33 commit 98c5fd8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,8 @@ module.exports = class Controller
{
if (this.mixerLevels.has(id))
{
mixer.meter = this.mixerLevels.get(id);
let lvl = this.mixerLevels.get(id);
if (lvl > 0) mixer.meter = lvl;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "midi.mixer.wavelink.new",
"version": "0.0.13",
"version": "0.0.14",
"description": "A MIDI Mixer plugin for WaveLink version 1.6 and above",
"main": "lib/main.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "midi.mixer.wavelink.new",
"name": "Elgato WaveLink Plugin",
"type": "node",
"version": "0.0.13",
"version": "0.0.14",
"author": "Rick van Modem",
"main": "lib/main.js",
"settings": {
Expand Down

0 comments on commit 98c5fd8

Please sign in to comment.