On Wednesday, 27 April 2016 at 00:15:46 UTC, stunaep wrote:
I am currently handling it like this:I'm just wondering if there is a built in solution that I missed.current = e.pos(); xdelta = current.x - previous.x; ydelta = current.y - previous.y; previous = current;
There is only information about coordinates where mouse button down event occured.
event.lbutton.downX, event.lbutton.downY - stores coordinates of button down event.
