Skip to content

Commit 0b71bdc

Browse files
committed
Fixed axisBottomMarkerHeight check
1 parent 34fec6b commit 0b71bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/waveform-axis.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ WaveformAxis.prototype._drawAxis = function(context, view) {
180180
context.stroke();
181181
}
182182

183-
if (this._axisBottomMarkerHeight) {
183+
if (this._axisBottomMarkerHeight > 0) {
184184
context.beginPath();
185185
context.moveTo(x + 0.5, height);
186186
context.lineTo(x + 0.5, height - this._axisBottomMarkerHeight);

0 commit comments

Comments
 (0)