mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
panel: fix sash layout issue when sidebar right
This commit is contained in:
@@ -486,7 +486,7 @@ export class WorkbenchLayout implements IVerticalSashLayoutProvider, IHorizontal
|
||||
}
|
||||
|
||||
public getHorizontalSashLeft(sash: Sash): number {
|
||||
return this.getVerticalSashLeft(sash);
|
||||
return this.partService.getSideBarPosition() === Position.LEFT ? this.getVerticalSashLeft(sash) : 0;
|
||||
}
|
||||
|
||||
public getHorizontalSashWidth(sash: Sash): number {
|
||||
|
||||
Reference in New Issue
Block a user