• Ian Hickson's avatar
    Reset _simulation at the end of a fling (#3435) · 112f2cc3
    Ian Hickson authored
    Also a bit of code cleanup.
    
    The key part of this patch is the addition in `_endScroll` to reset
    `_simulation`. It seems like this was the one place where it's possible
    for us to end the animation but not reset our state. Since we assert
    that are state is coherent, we were hitting asserts when a fling
    finished and then you interacted with the widget again.
    112f2cc3
Name
Last commit
Last update
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
infra Loading commit data...
packages Loading commit data...
travis Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...