mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
committed by
GitHub
parent
002eaa541a
commit
1bbe4e9d96
@@ -1249,7 +1249,11 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
|
||||
}
|
||||
|
||||
focus(): void {
|
||||
this.focusPart(Parts.EDITOR_PART, getWindow(this.activeContainer));
|
||||
if (this.isPanelMaximized() && this.mainContainer === this.activeContainer) {
|
||||
this.focusPart(Parts.PANEL_PART);
|
||||
} else {
|
||||
this.focusPart(Parts.EDITOR_PART, getWindow(this.activeContainer));
|
||||
}
|
||||
}
|
||||
|
||||
private focusPanelOrEditor(): void {
|
||||
|
||||
Reference in New Issue
Block a user