mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
fix: edelay position on odd number of traces
This commit is contained in:
parent
9133f81f3f
commit
6dcfe03ef0
2
plot.c
2
plot.c
|
|
@ -1514,7 +1514,7 @@ cell_draw_marker_info(int m, int n, int w, int h)
|
||||||
if (electrical_delay != 0) {
|
if (electrical_delay != 0) {
|
||||||
// draw electrical delay
|
// draw electrical delay
|
||||||
int xpos = 21;
|
int xpos = 21;
|
||||||
int ypos = 1 + (j/2)*7;
|
int ypos = 1 + ((j+1)/2)*7;
|
||||||
xpos -= m * CELLWIDTH -CELLOFFSETX;
|
xpos -= m * CELLWIDTH -CELLOFFSETX;
|
||||||
ypos -= n * CELLHEIGHT;
|
ypos -= n * CELLHEIGHT;
|
||||||
chsnprintf(buf, sizeof buf, "Edelay");
|
chsnprintf(buf, sizeof buf, "Edelay");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue