mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Reverse direction of lightbox animation
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user