Terminal size cannot keep maxmium after switching to editor and switching back (#255276) (#255880)

This commit is contained in:
Benjamin Pasero authored and GitHub committed 2025-07-14 19:31:36 +00:00
1 parent 7629bf7079
commit 48c6ecdf71
1 file changed
+1 -1
+1 -1
View File
@@ -2094,7 +2094,7 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
return (
this.getPanelAlignment() === 'center' || // the workbench grid currently prevents us from supporting panel
!isHorizontal(this.getPanelPosition()) // maximization with non-center panel alignment
) && this.isVisible(Parts.PANEL_PART, mainWindow) && !this.isVisible(Parts.EDITOR_PART, mainWindow);
) && !this.isVisible(Parts.EDITOR_PART, mainWindow) && !this.isAuxiliaryBarMaximized();
}
toggleMaximizedPanel(): void {