mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
Make sidebar position a real setting (fixes #13338)
This commit is contained in:
@@ -59,7 +59,7 @@ export class EditorGroup implements IEditorGroup {
|
||||
private active: EditorInput; // editor in active state
|
||||
|
||||
private toDispose: IDisposable[];
|
||||
private editorOpenPositioning: string;
|
||||
private editorOpenPositioning: 'left' | 'right' | 'first' | 'last';
|
||||
|
||||
private _onEditorActivated: Emitter<EditorInput>;
|
||||
private _onEditorOpened: Emitter<EditorInput>;
|
||||
@@ -114,7 +114,9 @@ export class EditorGroup implements IEditorGroup {
|
||||
}
|
||||
|
||||
private onConfigurationUpdated(config: IWorkbenchEditorConfiguration): void {
|
||||
this.editorOpenPositioning = config && config.workbench && config.workbench.editor && config.workbench.editor.openPositioning;
|
||||
if (config && config.workbench && config.workbench.editor) {
|
||||
this.editorOpenPositioning = config.workbench.editor.openPositioning;
|
||||
}
|
||||
}
|
||||
|
||||
public get id(): GroupIdentifier {
|
||||
|
||||
Reference in New Issue
Block a user