Allow per-camera trigger borders.

This commit is contained in:
Dermot Duffy
2024-01-23 20:56:30 -08:00
parent 64a909ead0
commit 06f2151bab
8 changed files with 45 additions and 28 deletions
+2 -1
View File
@@ -43,6 +43,7 @@ export class FrigateCardThumbnailCarousel extends LitElement {
public fadeThumbnails = false;
protected _thumbnailSlides: TemplateResult[] = [];
protected _plugins = [AutoSize()];
protected willUpdate(changedProps: PropertyValues): void {
if (changedProps.has('config')) {
@@ -137,7 +138,7 @@ export class FrigateCardThumbnailCarousel extends LitElement {
return html`<frigate-card-carousel
direction=${direction}
.plugins=${[AutoSize()]}
.plugins=${this._plugins}
.selected=${this._getSelectedSlide() ?? 0}
.dragFree=${true}
>