Fix skin depth justification in tooltip

pull/2/head
miguel 2023-05-08 12:19:15 +10:00
rodzic 6e82732cec
commit 51c0ac339b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1901,7 +1901,7 @@
} else
if(label[0] == 'S'){
var num = getMetricPrefix(value * 1e-6);
label = justifyText("Skin depth: ", num.val.toPrecision(3).toString() + ' ' + num.pfx + 'm');
label = justifyText("Skin depth: ", num.val.toPrecision(3).toString() + ' ' + num.pfx + 'm');
} else {
label += value.toFixed(3).toString();
}