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 => {
|
rows.forEach(row => {
|
||||||
cols = Math.max(cols, row.length);
|
cols = Math.max(cols, row.length);
|
||||||
});
|
});
|
||||||
txt.setAttribute("cols", Math.max(30, cols + 1));
|
|
||||||
txt.setAttribute("rows", 6);
|
|
||||||
|
|
||||||
let showing = btn === lastBtn;
|
let showing = btn === lastBtn;
|
||||||
if (lastTxt) {
|
if (lastTxt) {
|
||||||
lastTxt.classList.remove('txt-sel');
|
lastTxt.classList.remove('txt-sel');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue