fix: edelay position on odd number of traces

lever-ops
TT 6 years ago
parent 9133f81f3f
commit 6dcfe03ef0

@ -1514,7 +1514,7 @@ cell_draw_marker_info(int m, int n, int w, int h)
if (electrical_delay != 0) {
// draw electrical delay
int xpos = 21;
int ypos = 1 + (j/2)*7;
int ypos = 1 + ((j+1)/2)*7;
xpos -= m * CELLWIDTH -CELLOFFSETX;
ypos -= n * CELLHEIGHT;
chsnprintf(buf, sizeof buf, "Edelay");

Loading…
Cancel
Save

Powered by TurnKey Linux.