Add out-of-the-box Frigate PTZ support.
This commit is contained in:
@@ -69,7 +69,14 @@ export class FrigateCardCarousel extends LitElement {
|
||||
this.setAttribute('direction', this.direction);
|
||||
}
|
||||
|
||||
const destroyProperties = ['direction', 'dragFree', 'transitionEffect'] as const;
|
||||
const destroyProperties = [
|
||||
'direction',
|
||||
'dragEnabled',
|
||||
'dragFree',
|
||||
'loop',
|
||||
'plugins',
|
||||
'transitionEffect',
|
||||
] as const;
|
||||
if (destroyProperties.some((prop) => changedProps.has(prop))) {
|
||||
this._carousel?.destroy();
|
||||
this._carousel = null;
|
||||
|
||||
Reference in New Issue
Block a user