mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-30 21:41:46 +01:00
panel: fix issue with minimal panel width
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user