mirror of https://github.com/VERT-sh/VERT.git
fix: animation consistency
This commit is contained in:
parent
38c47fa70a
commit
bf14b90057
|
@ -130,10 +130,15 @@
|
||||||
start: !$shouldGoBack ? 250 : -250,
|
start: !$shouldGoBack ? 250 : -250,
|
||||||
end: 0,
|
end: 0,
|
||||||
},
|
},
|
||||||
|
y: {
|
||||||
|
start: 100,
|
||||||
|
end: 0,
|
||||||
|
},
|
||||||
scale: {
|
scale: {
|
||||||
start: 0.75,
|
start: 0.75,
|
||||||
end: 1,
|
end: 1,
|
||||||
},
|
},
|
||||||
|
origin: "top center",
|
||||||
}}
|
}}
|
||||||
out:blur={{
|
out:blur={{
|
||||||
duration,
|
duration,
|
||||||
|
@ -143,10 +148,15 @@
|
||||||
start: 0,
|
start: 0,
|
||||||
end: !$shouldGoBack ? -250 : 250,
|
end: !$shouldGoBack ? -250 : 250,
|
||||||
},
|
},
|
||||||
|
y: {
|
||||||
|
start: 0,
|
||||||
|
end: 100,
|
||||||
|
},
|
||||||
scale: {
|
scale: {
|
||||||
start: 1,
|
start: 1,
|
||||||
end: 0.75,
|
end: 0.75,
|
||||||
},
|
},
|
||||||
|
origin: "top center",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class="pb-20">
|
<div class="pb-20">
|
||||||
|
|
Loading…
Reference in New Issue