Skip to content

Commit 4c2222b

Browse files
committed
minor fix
1 parent 423a474 commit 4c2222b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/common/controls/waveform_view.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ static void __waveform_view_update_dirty_bins(waveform_view_t *ptThis)
318318
q16Ymax = MAX(q16Y, q16Ymax);
319319
} while(--iSampleCount);
320320

321-
ptBin->Coverage[WAVEFORM_BIN_NEW].iY0 = reinterpret_s16_q16(q16Ymin);
321+
ptBin->Coverage[WAVEFORM_BIN_NEW].iY0 = reinterpret_s16_q16(q16Ymin) - nDotHeight;
322322
ptBin->Coverage[WAVEFORM_BIN_NEW].iY1 = reinterpret_s16_q16(q16Ymax) + 1 + nDotHeight;
323323
}
324324
}

0 commit comments

Comments
 (0)