Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

end parameter in ThrowPropsPlugin

Recommended Posts

hi, i'm trying to use the ThrowPropsPlugin with end:[-80,-160,...] parameter. the first time i use it on my list, it works. it stops at one of the endpoints. but when i click the second time on the list, it jumps quite a distance on mousemove.


plugin version is: VERSION: 12.0.16


attached the class i use.

any idea why this happens?





Link to post
Share on other sites

That's actually unrelated to ThrowPropsPlugin - it's just a logic flaw in your mouseMoveHandler(). A relatively easy fix is to delete this:

else if(y < _bounds.top - _yOverlap) {
    _mc.y = y + (y + _bounds.top - _yOverlap) * 0.5;


Does that help?

  • Like 1
  • Thanks 1
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.