提交 f28a9f91 编写于 作者: S SteVen Batten

fix moving sidebar while hidden

fixes #67370
上级 536b8cc9
...@@ -1738,12 +1738,10 @@ export class Workbench extends Disposable implements IPartService { ...@@ -1738,12 +1738,10 @@ export class Workbench extends Disposable implements IPartService {
if (!wasHidden) { if (!wasHidden) {
this.uiState.lastSidebarDimension = this.workbenchGrid.getViewSize(this.sidebarPartView); this.uiState.lastSidebarDimension = this.workbenchGrid.getViewSize(this.sidebarPartView);
this.workbenchGrid.removeView(this.sidebarPartView);
} }
if (!this.activityBarHidden) { this.workbenchGrid.removeView(this.sidebarPartView);
this.workbenchGrid.removeView(this.activitybarPartView); this.workbenchGrid.removeView(this.activitybarPartView);
}
if (!this.panelHidden && this.panelPosition === Position.BOTTOM) { if (!this.panelHidden && this.panelPosition === Position.BOTTOM) {
this.workbenchGrid.removeView(this.panelPartView); this.workbenchGrid.removeView(this.panelPartView);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册