mirror of
https://github.com/stashapp/stash.git
synced 2025-12-08 09:23:38 +01:00
Add zoomIndex to gallery card (#5844)
This commit is contained in:
parent
86848e7d70
commit
10d4fcce8d
1 changed files with 6 additions and 1 deletions
|
|
@ -10,7 +10,12 @@ export const SceneGalleriesPanel: React.FC<ISceneGalleriesPanelProps> = ({
|
||||||
galleries,
|
galleries,
|
||||||
}) => {
|
}) => {
|
||||||
const cards = galleries.map((gallery) => (
|
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>;
|
return <div className="container scene-galleries">{cards}</div>;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue