swipecards
swipecards copied to clipboard
Card sometimes scales incorrectly
When swiping very fast, the top card sometimes takes the scaling of the back card.

This could be caused by the switch of cards, as this happens on the UI-Thread and might be slow.
// Switch cards if this method has been called after a swipe and not at init
if (itemIndex != 0)
{
// Remove swiped-away card (topcard) from stack
CardStack.Children.Remove(topCard);
// Scale swiped-away card (topcard) down and add it at the bottom of the stack
topCard.Scale = defaultSubcardScale;
CardStack.Children.Insert(0, topCard);
}