fix broken resize handle on the train tab

This commit is contained in:
AUTOMATIC1111 2024-03-08 08:13:02 +03:00
parent 9409419afb
commit a43ce7eabb

View File

@ -79,6 +79,11 @@
parent.minRightColWidth = 0;
parent.needHideOnMoblie = false;
}
if (!leftColTemplate) {
leftColTemplate = '1fr';
}
const gridTemplateColumns = `${leftColTemplate} ${PAD}px ${parent.children[1].style.flexGrow}fr`;
parent.style.gridTemplateColumns = gridTemplateColumns;
parent.style.originalGridTemplateColumns = gridTemplateColumns;