mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-27 05:06:42 +00:00
aligned track
to current theia.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
540a6215e4
commit
88631a318b
@ -15,10 +15,9 @@ export class ApplicationShell extends TheiaApplicationShell {
|
|||||||
@inject(CommandService)
|
@inject(CommandService)
|
||||||
protected readonly commandService: CommandService;
|
protected readonly commandService: CommandService;
|
||||||
|
|
||||||
protected async track(widget: Widget): Promise<void> {
|
protected track(widget: Widget): void {
|
||||||
if (this.editorMode.proMode) {
|
super.track(widget);
|
||||||
super.track(widget);
|
if (!this.editorMode.proMode) {
|
||||||
} else {
|
|
||||||
if (widget instanceof EditorWidget && widget.editor.uri.toString().endsWith('arduino-cli.yaml')) {
|
if (widget instanceof EditorWidget && widget.editor.uri.toString().endsWith('arduino-cli.yaml')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user