···2424 */
2525export function nearestImageAt(
2626 images: ThumbnailImage[],
2727- at: number
2727+ at: number,
2828): ThumbnailImagePosition | null {
2929 // no images, early return
3030 if (images.length === 0) return null;
···8282 addImage(img) {
8383 const store = get();
8484 const exactOrPastImageIndex = store.thumbnails.images.findIndex(
8585- (v) => v.at >= img.at
8585+ (v) => v.at >= img.at,
8686 );
87878888 // not found past or exact, so just append to the end