Skip to content

Commit fc09dc3

Browse files
author
Akos Kitta
committed
aligned api visibility with theia.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
1 parent 3d55aaa commit fc09dc3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arduino-ide-extension/src/browser/theia/core/application-shell.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class ApplicationShell extends TheiaApplicationShell {
3434
super.setLayoutData(layoutData);
3535
}
3636

37-
track(widget: Widget): void {
37+
protected track(widget: Widget): void {
3838
if (!this.editorMode.proMode && this.sketch && widget instanceof EditorWidget) {
3939
if (Sketch.isInSketch(widget.editor.uri, this.sketch)) {
4040
widget.title.closable = false;
@@ -43,7 +43,6 @@ export class ApplicationShell extends TheiaApplicationShell {
4343
super.track(widget);
4444
}
4545

46-
4746
async saveAll(): Promise<void> {
4847
await super.saveAll();
4948
await this.commandService.executeCommand(SaveAsSketch.Commands.SAVE_AS_SKETCH.id, { execOnlyIfTemp: true, openAfterMove: true });

0 commit comments

Comments
 (0)