fix menubar visibility changes

This commit is contained in:
SteVen Batten 2022-02-07 16:20:25 -08:00
parent c70522765b
commit 3656dd474b
No known key found for this signature in database

View file

@ -247,6 +247,9 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
// Revalidate center layout when active editor changes: diff editor quits centered mode.
this._register(this.editorService.onDidActiveEditorChange(() => this.centerEditorLayout(this.stateModel.getRuntimeValue(LayoutStateKeys.EDITOR_CENTERED))));
// Configuration changes
this._register(this.configurationService.onDidChangeConfiguration(() => this.doUpdateLayoutConfiguration()));
// Fullscreen changes
this._register(onDidChangeFullscreen(() => this.onFullscreenChanged()));