prevent wide gcode from affecting device dialog
This commit is contained in:
parent
c3ab08dcc1
commit
cd7a8f9e56
1 changed files with 0 additions and 3 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue