From 1c57ba62424a865b7c6f5d9120136815f96696f7 Mon Sep 17 00:00:00 2001 From: Freeplay Date: Sat, 25 Feb 2023 15:36:35 -0500 Subject: [PATCH] Only animate in if newly added --- .../components/MkReactionsViewer.reaction.vue | 26 ++++++------------- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/packages/client/src/components/MkReactionsViewer.reaction.vue b/packages/client/src/components/MkReactionsViewer.reaction.vue index f21fe175a1..00f49e1126 100644 --- a/packages/client/src/components/MkReactionsViewer.reaction.vue +++ b/packages/client/src/components/MkReactionsViewer.reaction.vue @@ -4,7 +4,7 @@ ref="buttonRef" v-ripple="canToggle" class="hkzvhatu _button" - :class="{ reacted: note.myReaction == reaction, canToggle }" + :class="{ reacted: note.myReaction == reaction, canToggle, newlyAdded: !isInitial }" @click="toggleReaction()" > @@ -13,7 +13,7 @@