提交 01a50ac5 编写于 作者: S SteVen Batten

fixes #56185

上级 5e5f6fc6
......@@ -1435,10 +1435,12 @@ export class Workbench extends Disposable implements IPartService {
}
setMenubarVisibility(visibility: MenuBarVisibility, skipLayout: boolean): void {
this.menubarVisibility = visibility;
if (this.menubarVisibility !== visibility) {
this.menubarVisibility = visibility;
if (!skipLayout) {
this.workbenchLayout.layout();
if (!skipLayout) {
this.workbenchLayout.layout();
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册