mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-06-24 13:06: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:
parent
5f5193932f
commit
def93ea32f
@ -9,6 +9,14 @@ export class OutlineViewContribution extends TheiaOutlineViewContribution {
|
|||||||
@inject(EditorMode)
|
@inject(EditorMode)
|
||||||
protected readonly editorMode: EditorMode;
|
protected readonly editorMode: EditorMode;
|
||||||
|
|
||||||
|
constructor() {
|
||||||
|
super();
|
||||||
|
this.options.defaultWidgetOptions = {
|
||||||
|
area: 'left',
|
||||||
|
rank: 500
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
async initializeLayout(app: FrontendApplication): Promise<void> {
|
async initializeLayout(app: FrontendApplication): Promise<void> {
|
||||||
if (this.editorMode.proMode) {
|
if (this.editorMode.proMode) {
|
||||||
return super.initializeLayout(app);
|
return super.initializeLayout(app);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user