From 1771aa056e898d6ed4b56a32fa9cdd59bc931551 Mon Sep 17 00:00:00 2001 From: Xylight Date: Wed, 17 Apr 2024 18:23:59 -0700 Subject: [PATCH] misc: tweak animation curves --- src/lib/components/lemmy/comment/CommentVote.svelte | 9 +++++---- src/lib/components/lemmy/comment/Comments.svelte | 3 ++- src/lib/components/lemmy/post/PostMeta.svelte | 2 +- src/lib/components/lemmy/post/PostVote.svelte | 9 +++++---- src/lib/components/markdown/Markdown.svelte | 6 +++++- src/lib/components/ui/navbar/Navbar.svelte | 3 ++- 6 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/lib/components/lemmy/comment/CommentVote.svelte b/src/lib/components/lemmy/comment/CommentVote.svelte index b3dccd77..4cda666d 100644 --- a/src/lib/components/lemmy/comment/CommentVote.svelte +++ b/src/lib/components/lemmy/comment/CommentVote.svelte @@ -16,6 +16,7 @@ import { vote as voteItem } from '$lib/lemmy/contentview' import { shouldShowVoteColor } from '../post/PostVote.svelte' import { fly } from 'svelte/transition' + import { backOut } from 'svelte/easing' export let vote: number = 0 export let upvotes: number @@ -48,8 +49,8 @@ {#key upvotes} @@ -69,8 +70,8 @@ {#key downvotes} diff --git a/src/lib/components/lemmy/comment/Comments.svelte b/src/lib/components/lemmy/comment/Comments.svelte index 4db232f9..e2fd645e 100644 --- a/src/lib/components/lemmy/comment/Comments.svelte +++ b/src/lib/components/lemmy/comment/Comments.svelte @@ -17,6 +17,7 @@ import { profile } from '$lib/auth.js' import { Button } from 'mono-svelte' import { afterNavigate } from '$app/navigation' + import { backOut } from 'svelte/easing' export let nodes: CommentNodeI[] export let isParent: boolean @@ -106,7 +107,7 @@