If the scroller is stopped and set the freeze push while bounce
animation is running, it will stop bouncing in a moment. Even if the scroller
is set the freeze pop again, the scroller don't finish the bouncing. I think
that it should finish the bouncing when it is set the freeze pop.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@58063
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sd->down.onhold_animator = NULL;
}
}
+ else
+ bounce_eval(sd);
}
void
{
vel = sqrt((dx * dx) + (dy * dy)) / at;
if ((_elm_config->thumbscroll_friction > 0.0) &&
- (vel > _elm_config->thumbscroll_momentum_threshold) &&
- (!sd->freeze))
+ (vel > _elm_config->thumbscroll_momentum_threshold))
{
sd->down.dx = ((double)dx / at);
sd->down.dy = ((double)dy / at);