1
0
mirror of https://github.com/arduino/arduino-ide.git synced 2025-06-23 20:46:33 +00:00

GH-354: Moved the Outline to the left-hand side.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta 2020-09-16 11:37:33 +02:00 committed by Akos Kitta
parent 5f5193932f
commit def93ea32f

@ -9,6 +9,14 @@ export class OutlineViewContribution extends TheiaOutlineViewContribution {
@inject(EditorMode)
protected readonly editorMode: EditorMode;
constructor() {
super();
this.options.defaultWidgetOptions = {
area: 'left',
rank: 500
};
}
async initializeLayout(app: FrontendApplication): Promise<void> {
if (this.editorMode.proMode) {
return super.initializeLayout(app);