Reverse direction of lightbox animation
This commit is contained in:
parent
4d7b5cd072
commit
8cb281c74e
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ export function Lightbox({
|
||||||
thumbnailsAnimation.set({
|
thumbnailsAnimation.set({
|
||||||
marginLeft:
|
marginLeft:
|
||||||
thumbnailsMarginLeft +
|
thumbnailsMarginLeft +
|
||||||
(selectedIndex === 0 ? -1 : 1) * THUMBNAIL_FULL_WIDTH,
|
(selectedIndex === 0 ? 1 : -1) * THUMBNAIL_FULL_WIDTH,
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
});
|
});
|
||||||
thumbnailsAnimation.start({
|
thumbnailsAnimation.start({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue