Skip to content

Commit

Permalink
fix(octra): annotation is not tidied up after typing
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpoemp committed Dec 9, 2024
1 parent ff3dd7b commit ed69a7a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,7 @@ export class TranscrEditorComponent
)
: this._rawText;
code = insertString(code, this._textSelection.start, startMarker);
code = this.tidyUpRaw(code);
}

const validation = this.annotationStoreService.validate(code);
Expand Down Expand Up @@ -1740,7 +1741,7 @@ export class TranscrEditorComponent
onAfterInit = () => {
this.subscriptionManager.removeByTag('initialization');
this.subscribe(
timer(0),
timer(200),
() => {
if (this.workplace?.parentNode) {
if (!this.popovers.segmentBoundary) {
Expand Down

0 comments on commit ed69a7a

Please sign in to comment.