mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
💄
This commit is contained in:
@@ -298,7 +298,7 @@ export class WorkbenchLayout implements IVerticalSashLayoutProvider, IHorizontal
|
||||
}
|
||||
|
||||
public layout(options?: ILayoutOptions): void {
|
||||
this.workbenchSize = this.getWorkbenchArea();
|
||||
this.workbenchSize = this.parent.getClientArea();
|
||||
|
||||
const isActivityBarHidden = !this.partService.isVisible(Parts.ACTIVITYBAR_PART);
|
||||
const isTitlebarHidden = !this.partService.isVisible(Parts.TITLEBAR_PART);
|
||||
@@ -494,15 +494,6 @@ export class WorkbenchLayout implements IVerticalSashLayoutProvider, IHorizontal
|
||||
this.contextViewService.layout();
|
||||
}
|
||||
|
||||
private getWorkbenchArea(): Dimension {
|
||||
|
||||
// Client Area: Parent
|
||||
let clientArea = this.parent.getClientArea();
|
||||
|
||||
// Workbench: Client Area - Margins
|
||||
return clientArea;
|
||||
}
|
||||
|
||||
public getVerticalSashTop(sash: Sash): number {
|
||||
return this.titlebarHeight;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user