> 423 +void UCListItemSnapAnimator::stop()
> 424 +{
> 425 + QQuickPropertyAnimation *snap = getDefaultAnimation();
> 426 + if (snap && snap->isRunning()) {
> 427 + snap->stop();
> 428 + }
> 429 +}
>
> where do you use this?
> perhaps you should be calling this function in snap() instead of calling
> snap->stop() there.
Check the code :) It is used when mousePressed() is called, so if there is an animation, it will stop it => no binding loop on swiped property
> 423 +void UCListItemSnapA nimator: :stop() nimation *snap = getDefaultAnima tion();
> 424 +{
> 425 + QQuickPropertyA
> 426 + if (snap && snap->isRunning()) {
> 427 + snap->stop();
> 428 + }
> 429 +}
>
> where do you use this?
> perhaps you should be calling this function in snap() instead of calling
> snap->stop() there.
Check the code :) It is used when mousePressed() is called, so if there is an animation, it will stop it => no binding loop on swiped property