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({
|
||||
marginLeft:
|
||||
thumbnailsMarginLeft +
|
||||
(selectedIndex === 0 ? -1 : 1) * THUMBNAIL_FULL_WIDTH,
|
||||
(selectedIndex === 0 ? 1 : -1) * THUMBNAIL_FULL_WIDTH,
|
||||
opacity: 0,
|
||||
});
|
||||
thumbnailsAnimation.start({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue