it stores it and sets it later when the double click event is handled. Decided to not reuse prevx but made prevclickx, because there may be multiple mousemoves between the two clicks, and prevx is already used for some other tricky things.
it stores it and sets it later when the double click event is handled. Decided to not reuse prevx but made prevclickx, because there may be multiple mousemoves between the two clicks, and prevx is already used for some other tricky things.