fix(gallery): sometimes, in 2d mode, scale wasn't animated in the transition
This commit is contained in:
@@ -4,6 +4,7 @@ const store = useGalleryStore();
|
||||
const { assets } = useAssets();
|
||||
|
||||
onMounted(() => {
|
||||
store.cleanup();
|
||||
if (store.shouldAnimateOutro) {
|
||||
store.shouldAnimateOutro = false;
|
||||
store.animateOutro();
|
||||
|
||||
Reference in New Issue
Block a user