Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed several issues #1

Merged
merged 1 commit into from Feb 7, 2022

Conversation

cornetthomas
Copy link

No description provided.

@@ -402,8 +413,10 @@ class TCardState extends State<TCard> with TickerProviderStateMixin {
_runChangeOrderAnimation();
if (isSwipeLeft) {
_swipeInfoList.add(SwipeInfo(_frontCardIndex, SwipeDirection.Left));
_backCallback();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is breaking compared to the original package, as _backCallback() was used for reversing the stack IIRC

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mmh, maybe

But it's strange, they use the backward to signal a swipe left, but also reverse the stack. Which are two different thing imho

@thomas-stockx thomas-stockx merged commit 0dfa54f into thomas-stockx:master Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants