From 7c7cd67586a5adbbe50f1dde0315d021ec5aca2e Mon Sep 17 00:00:00 2001 From: Tim Franken Date: Wed, 22 Apr 2020 17:39:44 +0200 Subject: [PATCH] Fix[!vertical issue] modified channelWidth --- core/js/volume-meter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/volume-meter.js b/core/js/volume-meter.js index b8bd3669..483ee9f6 100644 --- a/core/js/volume-meter.js +++ b/core/js/volume-meter.js @@ -114,7 +114,7 @@ WebAudioPeakMeter.prototype.createMeter = function(domElement, meterNode, option this.channelCount = meterNode.channelCount; var channelWidth = this.meterWidth / this.channelCount; if (!this.vertical) { - this.channelWidth = this.meterHeight / this.channelCount; + channelWidth = this.meterHeight / this.channelCount; } var channelLeft = this.tickWidth; if (!this.vertical) {