Skip to content

Commit

Permalink
Fixed axisBottomMarkerHeight check
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisn committed Sep 8, 2024
1 parent 34fec6b commit 0b71bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/waveform-axis.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0b71bdc

Please sign in to comment.