Updated editor height; visualized which is active

This commit is contained in:
2025-06-11 23:02:45 -05:00
parent 71d3dc2573
commit dbbc6deaae
8 changed files with 30 additions and 12 deletions

View File

@@ -52,8 +52,10 @@ export class EditorsComponent {
this.loadSubscribers();
this.loadMainSubscribers();
let editor = this.createEditor();
this.activeEditor = editor.instance.uuid;
let editor = this.createEditor();
this.activeEditor = editor.instance.uuid;
editor.instance.isDefault = true;
this.createEditor();
}
@@ -61,7 +63,9 @@ export class EditorsComponent {
this.editorsService.newActiveEditor$().pipe(
takeUntil(this.unsubscribe)
).subscribe((uuid: string) => {
this.editors.get(this.activeEditor).instance.removeActiveStyling();
this.activeEditor = uuid;
this.editors.get(this.activeEditor).instance.addActiveStyling();
});
this.editorsService.loadTabToEditor$().pipe(