提交 b19445e3 编写于 作者: I isidor

panel: fix issue with minimal panel width

上级 e009b306
......@@ -350,6 +350,7 @@ export class WorkbenchLayout implements IVerticalSashLayoutProvider, IHorizontal
if (editorSize.width < editorMinWidth) {
let diff = editorMinWidth - editorSize.width;
editorSize.width = editorMinWidth;
panelDimension.width = editorMinWidth;
sidebarSize.width -= diff;
sidebarSize.width = Math.max(DEFAULT_MIN_PART_WIDTH, sidebarSize.width);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册