Skip to content

Commit 48c6ecd

Browse files
authored
Terminal size cannot keep maxmium after switching to editor and switching back (microsoft#255276) (microsoft#255880)
1 parent 7629bf7 commit 48c6ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/browser/layout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2094,7 +2094,7 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
20942094
return (
20952095
this.getPanelAlignment() === 'center' || // the workbench grid currently prevents us from supporting panel
20962096
!isHorizontal(this.getPanelPosition()) // maximization with non-center panel alignment
2097-
) && this.isVisible(Parts.PANEL_PART, mainWindow) && !this.isVisible(Parts.EDITOR_PART, mainWindow);
2097+
) && !this.isVisible(Parts.EDITOR_PART, mainWindow) && !this.isAuxiliaryBarMaximized();
20982098
}
20992099

21002100
toggleMaximizedPanel(): void {

0 commit comments

Comments
 (0)