Skip to content

Commit 4911ece

Browse files
authored
Terminal size cannot keep maxmium after switching to editor and switching back (fix #255276) (#255881)
Terminal size cannot keep maxmium after switching to editor and switching back (#255276)
1 parent 7ed9fcb commit 4911ece

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
@@ -2129,7 +2129,7 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
21292129
return (
21302130
this.getPanelAlignment() === 'center' || // the workbench grid currently prevents us from supporting panel
21312131
!isHorizontal(this.getPanelPosition()) // maximization with non-center panel alignment
2132-
) && this.isVisible(Parts.PANEL_PART, mainWindow) && !this.isVisible(Parts.EDITOR_PART, mainWindow);
2132+
) && !this.isVisible(Parts.EDITOR_PART, mainWindow) && !this.isAuxiliaryBarMaximized();
21332133
}
21342134

21352135
toggleMaximizedPanel(): void {

0 commit comments

Comments
 (0)