You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The animation for rotating emojis is in the struct CardView with .rotationEffect(Angle.degrees(card.isMatched ? 360 : 0)) and also, to rotate the second emoji first it has to be present on the screen, therefore, in Cardify the content is set out of the if rotation but with an opacity so it can't be seen content.opacity(rotation < 90 ? 1 : 0) like that
How can I rotate Emojis?
I have been trying to create it, but unsuccesfull.
Any assistance?
The text was updated successfully, but these errors were encountered: