misc: make fly animation global
This commit is contained in:
1 parent
8afd3b25ca
commit
5bc1c4f1a2
1 file changed
+1
-1
@@ -33,7 +33,7 @@
|
|||||||
{#each posts as post, index (post.post.id)}
|
{#each posts as post, index (post.post.id)}
|
||||||
{#if !($userSettings.hidePosts.deleted && post.post.deleted) && !($userSettings.hidePosts.removed && post.post.removed)}
|
{#if !($userSettings.hidePosts.deleted && post.post.deleted) && !($userSettings.hidePosts.removed && post.post.removed)}
|
||||||
<div
|
<div
|
||||||
in:fly={{
|
in:fly|global={{
|
||||||
y: -8,
|
y: -8,
|
||||||
duration: 500,
|
duration: 500,
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
|
|||||||
Reference in new issue
Block a user