Keep calls internal to class

This commit is contained in:
RMidhunSuresh 2022-01-07 17:50:36 +05:30
parent 0a09a50ab9
commit 8cc04e4c25
2 changed files with 1 additions and 1 deletions

View file

@ -340,7 +340,6 @@ export class Timeline {
}
}
if (contextEvent) {
contextEvent.setAsContextOf(entry);
entry.setContextEntry(contextEvent);
this._updateEntry(entry);
}

View file

@ -48,6 +48,7 @@ export class EventEntry extends BaseEventEntry {
setContextEntry(entry) {
this._contextEntry = entry;
entry.setAsContextOf(this);
}
setAsContextOf(entry) {