commit 7900865c0249b60a192b2c5a86c3fc5495643865 parent 0350809e82140b741ba695d9be41c2f7c081533b Author: Suhail Saqan <suhail.saqan@gmail.com> Date: Sat, 5 Aug 2023 11:56:31 -0500 bar: wiggle long press reactions Signed-off-by: William Casarin <jb55@jb55.com> Changelog-Fixed: Fix wiggle when long press reactions Diffstat:
M | damus/Views/ActionBar/EventActionBar.swift | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/damus/Views/ActionBar/EventActionBar.swift b/damus/Views/ActionBar/EventActionBar.swift @@ -335,6 +335,11 @@ struct LikeButton: View { showReactionsBG = 0 } showEmojis = [] + + withAnimation(Animation.easeOut(duration: 0.15)) { + shouldAnimate = true + amountOfAngleIncrease = 20.0 + } } }