Closed jinios closed 5 years ago
Do you mean this?
If that is what you mean, try:
/// The transform animation that is shown on the top card when scrolling through the cards. Default is 0.05.
cardSwiper.firstItemTransform = 0.00
As described in the properties section of the readme.
Best regards, Joni
Thanks a lot, I read it but I couldn't notice that was an enable/disable property for the previous card fading animation. I appreciate you develop this library and also your quick feedback.
I will close this issue :)
Regards, Mijin
New Issue Checklist
Issue Description
Can I off the animation when the previous card goes behind?
I tried to find an option so that I can on/off the scale&fade animation when the cards goes behind but I couldn't. So I triedn to comment out the codes regards animation and changing scale in the file
CardCell.swift
, but it seems disable animation is not working. I commented out the logic in the function namedresetToCenterPosition()
, andanimateCard(angle:, horizontalTranslation:)
Please point out if anything wrong, or anything that I missed.
Environment