Commit a43ce7ea authored by AUTOMATIC1111's avatar AUTOMATIC1111

fix broken resize handle on the train tab

parent 9409419a
...@@ -79,6 +79,11 @@ ...@@ -79,6 +79,11 @@
parent.minRightColWidth = 0; parent.minRightColWidth = 0;
parent.needHideOnMoblie = false; parent.needHideOnMoblie = false;
} }
if (!leftColTemplate) {
leftColTemplate = '1fr';
}
const gridTemplateColumns = `${leftColTemplate} ${PAD}px ${parent.children[1].style.flexGrow}fr`; const gridTemplateColumns = `${leftColTemplate} ${PAD}px ${parent.children[1].style.flexGrow}fr`;
parent.style.gridTemplateColumns = gridTemplateColumns; parent.style.gridTemplateColumns = gridTemplateColumns;
parent.style.originalGridTemplateColumns = gridTemplateColumns; parent.style.originalGridTemplateColumns = gridTemplateColumns;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment