Pause clips on moving off a slide in the viewer.

This commit is contained in:
Dermot Duffy
2022-01-20 20:42:57 -08:00
parent cbe9ee621a
commit 77a8127848
3 changed files with 67 additions and 22 deletions
+4 -1
View File
@@ -37,7 +37,10 @@ export class FrigateCardCarousel extends LitElement {
if (!this._carousel) {
this.updateComplete.then(() => {
this._initCarousel();
// Re-check for the carousel to prevent a double init.
if (!this._carousel) {
this._initCarousel();
}
});
}
}