diff --git a/expertWires.js b/expertWires.js index fe49071..087be7e 100644 --- a/expertWires.js +++ b/expertWires.js @@ -82,6 +82,7 @@ function setup_part2(){ setupNodes(); setupTransistors(); setupParams(); + setupExpertMode(); detectOldBrowser(); setStatus('loading graphics...'); setTimeout(setup_part3, 0); @@ -343,6 +344,14 @@ function updateLoglevel(value){ initLogbox(logThese); } +function setupExpertMode(isOn){ + document.getElementById('expertControlPanel').style.display = 'block'; + if(loglevel==0) + updateLoglevel(1); + if(chipLayoutIsVisible) + document.getElementById('layoutControlPanel').style.display = 'block'; +} + var chipsurround; function updateChipLayoutVisibility(isOn){ diff --git a/macros.js b/macros.js index 81f8b54..8b922e0 100644 --- a/macros.js +++ b/macros.js @@ -188,7 +188,6 @@ function updateLogList(names){ if(typeof busToString(names[i]) != "undefined") logThese.push(names[i]); } -console.log(logThese); initLogbox(logThese); }