Add zoomIndex to gallery card (#5844)

This commit is contained in:
dogwithakeyboard 2025-06-02 08:15:23 +01:00 committed by GitHub
parent 86848e7d70
commit 10d4fcce8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,12 @@ export const SceneGalleriesPanel: React.FC<ISceneGalleriesPanelProps> = ({
galleries,
}) => {
const cards = galleries.map((gallery) => (
<GalleryCard key={gallery.id} gallery={gallery} selecting={false} />
<GalleryCard
key={gallery.id}
gallery={gallery}
selecting={false}
zoomIndex={2}
/>
));
return <div className="container scene-galleries">{cards}</div>;