提交 b6376559 编写于 作者: I isidor

panel: fix sash layout issue when sidebar right

上级 42596574
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册