Timeline performance improvements.
This commit is contained in:
1 parent
6415597e9b
commit
5be6ee86e0
4 files changed
+112
-34
No files matched your search
@@ -626,10 +626,12 @@ export class FrigateCardTimelineCore extends LitElement {
|
||||
return null;
|
||||
}
|
||||
|
||||
const cacheFriendlyWindow = this._timelineSource.getCacheFriendlyEventWindow(
|
||||
options?.window ?? this._timeline.getWindow(),
|
||||
);
|
||||
|
||||
return new EventMediaQueries(
|
||||
this._timelineSource.getTimelineEventQueries(
|
||||
options?.window ?? this._timeline.getWindow(),
|
||||
),
|
||||
this._timelineSource.getTimelineEventQueries(cacheFriendlyWindow),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user