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

Need to fix some minor fixes #31

Merged
merged 2 commits into from
Jun 6, 2020
Merged

Conversation

arnaudelub
Copy link
Contributor

Duplicated line, line 614, sorry about that, the pause was executed twice.
We need to check that the widget is mounted before the setState otherwise it will produce the Unhandled exception: SetState() called after dispose
Also, _makeRoundTrip has to return before the setState() if isDone is set to true, otherwise the edges will fade (if settled) after the pause
Pubspec.yaml version and Changelog have been updated
Thank you

Removing duplicated line line 614
_makeRoundtrip has to return if isDone is complete before setting the
pause value, otherwise the fading (if setted) will be painted after last
scroll's pause and so the _roundCounter incrementation has to be done
before the pause.
Also, we need to check that the widget is mounted before the setState
otherwise it will produce an error at dipose()
@Sauceee
Copy link
Contributor

Sauceee commented Jun 6, 2020

I faced another issue, whenever the Marquee makes a round, the fade is gone for a second and it results into this:

Kw1vzsE - Imgur

If I set showFadingOnlyWhenScrolling to false, its not happening.

Just wondering if that is the desired behavior or not.

@MarcelGarus MarcelGarus merged commit 30b76e6 into MarcelGarus:master Jun 6, 2020
@MarcelGarus
Copy link
Owner

@Sauceee transferred to #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants