Add 'infinite' gallery support.

This commit is contained in:
Dermot Duffy
2023-01-24 19:36:54 -08:00
parent 7b0cde0e50
commit d0a6f0928f
12 changed files with 286 additions and 115 deletions
+3 -1
View File
@@ -1021,9 +1021,11 @@ export class FrigateCard extends LitElement {
if (View.isMediaChange(this._view, view)) {
this._currentMediaLoadedInfo = null;
}
if (this._view?.view !== view.view) {
this._resetMainScroll();
}
this._view = view;
this._generateConditionState();
this._resetMainScroll();
};
if (args?.resetMessage ?? true) {