Undo-ing mistake during last check-in

pull/2/head
miguel 2021-10-26 23:55:02 +11:00
rodzic 8cf3b24d59
commit e6d6ddcc53
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -836,10 +836,10 @@
var conductor_diameter_timer_handler = 0;
conductor_diameter_slider.oninput = function() {
// Check if we have exceeded the maximum turns:
const max_N = getMaxTurnsFrom();
if(max_N > toroid.N) {
loop_turns_slider.value = (toroid.N * 100.0) / max_N;
}
//const max_N = getMaxTurnsFrom();
//if(max_N > toroid.N) {
// loop_turns_slider.value = (toroid.N * 100.0) / max_N;
//}
recalculate();