dragdoll
dragdoll copied to clipboard
Improve default algorithm for choosing the autoscroll target
The default algorithm for choosing autoscroll target is a bit naive and easily leads to unintuitive target being chosen. We need to factor in the movement direction and the closest edge which the dragged item is moving towards.