panel: fix sash layout issue when sidebar right

This commit is contained in:
isidor
2016-01-22 12:45:24 +01:00
parent 42596574eb
commit b637655978

View File

@@ -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 {