mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-06-17 09:36:33 +00:00
aligned api visibility with theia.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
3d55aaa875
commit
fc09dc3613
@ -34,7 +34,7 @@ export class ApplicationShell extends TheiaApplicationShell {
|
|||||||
super.setLayoutData(layoutData);
|
super.setLayoutData(layoutData);
|
||||||
}
|
}
|
||||||
|
|
||||||
track(widget: Widget): void {
|
protected track(widget: Widget): void {
|
||||||
if (!this.editorMode.proMode && this.sketch && widget instanceof EditorWidget) {
|
if (!this.editorMode.proMode && this.sketch && widget instanceof EditorWidget) {
|
||||||
if (Sketch.isInSketch(widget.editor.uri, this.sketch)) {
|
if (Sketch.isInSketch(widget.editor.uri, this.sketch)) {
|
||||||
widget.title.closable = false;
|
widget.title.closable = false;
|
||||||
@ -43,7 +43,6 @@ export class ApplicationShell extends TheiaApplicationShell {
|
|||||||
super.track(widget);
|
super.track(widget);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
async saveAll(): Promise<void> {
|
async saveAll(): Promise<void> {
|
||||||
await super.saveAll();
|
await super.saveAll();
|
||||||
await this.commandService.executeCommand(SaveAsSketch.Commands.SAVE_AS_SKETCH.id, { execOnlyIfTemp: true, openAfterMove: true });
|
await this.commandService.executeCommand(SaveAsSketch.Commands.SAVE_AS_SKETCH.id, { execOnlyIfTemp: true, openAfterMove: true });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user