Adjust originY to raise the graphic a tad higher.

pull/2/head
miguel 2021-10-18 22:34:00 +11:00
rodzic f04e0c1fe6
commit 87dda59181
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -806,6 +806,7 @@
let theta = Math.PI/12.0;
var front_originX = originX - 0.5*(1*outerRadius + 20 + width);
originY -= 12;
// Draw entry and exit wires:
var x1 = front_originX + (outerRadius + 20) * Math.cos(0.5 * Math.PI + 0.5 * theta);