graflow: fix1 to ortho wires

This commit is contained in:
STEINNI
2026-03-02 18:27:15 +00:00
parent be72b6f2db
commit f5fbdd6ccd
10 changed files with 387 additions and 11 deletions
+8
View File
@@ -68,6 +68,9 @@
document.querySelector('input[data-id="eic"]').addEventListener('change',
(evt) => { grflw2.setAttribute('tension', evt.target.value); grflw2.refresh() }
)
document.querySelector('select[name="wiretype"]').addEventListener('change',
(evt) => { grflw2.setAttribute('wiretype', evt.target.value); grflw2.refresh() }
)
})
</script>
</head>
@@ -83,6 +86,11 @@
<option value="last">Last</option>
<option value="auto">Auto</option>
</select>
<select name="wiretype">
<option value="ortho">Ortho</option>
<option value="straight">Straight</option>
<option value="bezier" selected>Bezier</option>
</select>
<div class-"cols-2"=""><label>tension</label><input data-id="eic" type="number" size="2" value="60"></div>
</div>
</bz-graflow>