Be less eager with carousel resizes.

This commit is contained in:
Dermot Duffy
2023-08-26 11:41:06 -07:00
parent 87f137b474
commit af5b0f7f23
+1 -1
View File
@@ -136,7 +136,7 @@ export class FrigateCardMediaCarousel extends LitElement {
// Debounce multiple calls to adapt the container height. // Debounce multiple calls to adapt the container height.
protected _debouncedAdaptContainerHeightToSlide = debounce( protected _debouncedAdaptContainerHeightToSlide = debounce(
this._adaptContainerHeightToSlide.bind(this), this._adaptContainerHeightToSlide.bind(this),
1 * 100, 1 * 250,
{trailing: true}); {trailing: true});
// This carousel may be resized by Lovelace resizes, window resizes, // This carousel may be resized by Lovelace resizes, window resizes,