forked from mystiq/hydrogen-web
Keep calls internal to class
This commit is contained in:
parent
0a09a50ab9
commit
8cc04e4c25
2 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,6 @@ export class Timeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (contextEvent) {
|
if (contextEvent) {
|
||||||
contextEvent.setAsContextOf(entry);
|
|
||||||
entry.setContextEntry(contextEvent);
|
entry.setContextEntry(contextEvent);
|
||||||
this._updateEntry(entry);
|
this._updateEntry(entry);
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,6 +48,7 @@ export class EventEntry extends BaseEventEntry {
|
||||||
|
|
||||||
setContextEntry(entry) {
|
setContextEntry(entry) {
|
||||||
this._contextEntry = entry;
|
this._contextEntry = entry;
|
||||||
|
entry.setAsContextOf(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
setAsContextOf(entry) {
|
setAsContextOf(entry) {
|
||||||
|
|
Loading…
Reference in a new issue