mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 04:23:32 +01:00
fixes #81838
This commit is contained in:
@@ -338,6 +338,11 @@ export class TitlebarPart extends Part implements ITitleService {
|
||||
}
|
||||
|
||||
private installMenubar(): void {
|
||||
// If the menubar is already installed, skip
|
||||
if (this.menubar) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.customMenubar = this._register(this.instantiationService.createInstance(CustomMenubarControl));
|
||||
|
||||
this.menubar = this.element.insertBefore($('div.menubar'), this.title);
|
||||
|
||||
Reference in New Issue
Block a user