prevent wide gcode from affecting device dialog

This commit is contained in:
Stewart Allen 2025-01-26 15:27:34 -05:00
commit cd7a8f9e56

View file

@ -442,9 +442,6 @@ gapp.register("kiri.ui", [], (root, exports) => {
rows.forEach(row => {
cols = Math.max(cols, row.length);
});
txt.setAttribute("cols", Math.max(30, cols + 1));
txt.setAttribute("rows", 6);
let showing = btn === lastBtn;
if (lastTxt) {
lastTxt.classList.remove('txt-sel');