Fix startIndex bug.
This commit is contained in:
@@ -107,7 +107,7 @@ export class FrigateCardThumbnailCarousel extends FrigateCardCarousel {
|
|||||||
return {
|
return {
|
||||||
containScroll: 'keepSnaps',
|
containScroll: 'keepSnaps',
|
||||||
dragFree: true,
|
dragFree: true,
|
||||||
startIndex: this._selected ?? undefined,
|
startIndex: this._selected ?? 0,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user