From 0b71bdc31e9fff5b84caa59e22ac767e1a402662 Mon Sep 17 00:00:00 2001 From: Chris Needham Date: Sun, 8 Sep 2024 23:05:59 +0100 Subject: [PATCH] Fixed axisBottomMarkerHeight check --- src/waveform-axis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/waveform-axis.js b/src/waveform-axis.js index 2c56d24f..d9866d13 100644 --- a/src/waveform-axis.js +++ b/src/waveform-axis.js @@ -180,7 +180,7 @@ WaveformAxis.prototype._drawAxis = function(context, view) { context.stroke(); } - if (this._axisBottomMarkerHeight) { + if (this._axisBottomMarkerHeight > 0) { context.beginPath(); context.moveTo(x + 0.5, height); context.lineTo(x + 0.5, height - this._axisBottomMarkerHeight);