mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
fix menubar visibility changes
This commit is contained in:
parent
c70522765b
commit
3656dd474b
|
@ -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()));
|
||||
|
||||
|
|
Loading…
Reference in a new issue