kopia lustrzana https://github.com/miguelvaca/vk3cpu
Update transformer.html
rodzic
de4448f0eb
commit
7e2b9461e9
|
@ -2813,9 +2813,9 @@
|
||||||
fctx.textAlign = "center";
|
fctx.textAlign = "center";
|
||||||
fctx.fillText("Z\u2097", side_originX + 80, originY);
|
fctx.fillText("Z\u2097", side_originX + 80, originY);
|
||||||
fctx.textAlign = "left";
|
fctx.textAlign = "left";
|
||||||
fctx.fillText(controller.toroid.Zl.toFixed(0) + " Ohm", side_originX + 95, originY);
|
var num = getMetricPrefix(controller.toroid.Zl);
|
||||||
|
fctx.fillText(num.val.toPrecision(3).toString() + ' ' + num.pfx + "\u03A9", side_originX + 95, originY);
|
||||||
|
|
||||||
// Draw the Dimensions:
|
// Draw the Dimensions:
|
||||||
fctx.strokeStyle = "black";
|
fctx.strokeStyle = "black";
|
||||||
fctx.lineWidth = 1;
|
fctx.lineWidth = 1;
|
||||||
|
|
Ładowanie…
Reference in New Issue