fix depedent func in init_two
This commit is contained in:
parent
3e912abc73
commit
ab1f44adcc
2 changed files with 7 additions and 4 deletions
|
|
@ -1566,10 +1566,6 @@
|
|||
UI.toolMetric.onclick = updateTool;
|
||||
UI.toolType.onchange = updateTool;
|
||||
|
||||
function showSetup() {
|
||||
API.modal.show('setup');
|
||||
}
|
||||
|
||||
function mksvg(src) {
|
||||
let svg = DOC.createElement('svg');
|
||||
svg.innerHTML = src;
|
||||
|
|
@ -1759,6 +1755,10 @@
|
|||
// lift curtain
|
||||
$('curtain').style.display = 'none';
|
||||
|
||||
function showSetup() {
|
||||
API.modal.show('setup');
|
||||
}
|
||||
|
||||
// bind interface action elements
|
||||
$('app-name').onclick = API.help.show;
|
||||
$('app-mode').onclick = (ev) => { ev.stopPropagation(); showSetup() };
|
||||
|
|
|
|||
|
|
@ -722,10 +722,13 @@ th, tr, td {
|
|||
.var-row label {
|
||||
padding: 2px 4px 2px 0;
|
||||
flex-grow: 1;
|
||||
font-size: smaller;
|
||||
}
|
||||
.var-row input {
|
||||
margin-right: 0;
|
||||
margin-bottom: 1px;
|
||||
padding-bottom: 1px;
|
||||
padding-top: 1px;
|
||||
}
|
||||
.var-row button {
|
||||
margin-right: 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue