提交 536b8cc9 编写于 作者: S SteVen Batten

fix moving panel while hidden in grid layout

fixes #67370
上级 0d7a9b18
...@@ -1804,9 +1804,9 @@ export class Workbench extends Disposable implements IPartService { ...@@ -1804,9 +1804,9 @@ export class Workbench extends Disposable implements IPartService {
if (this.workbenchGrid instanceof Grid) { if (this.workbenchGrid instanceof Grid) {
if (!wasHidden) { if (!wasHidden) {
this.saveLastPanelDimension(); this.saveLastPanelDimension();
this.workbenchGrid.removeView(this.panelPartView);
} }
this.workbenchGrid.removeView(this.panelPartView);
this.layout(); this.layout();
} else { } else {
this.workbenchGrid.layout(); this.workbenchGrid.layout();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册