Hacker News new | ask | show | jobs
by ellyagg 994 days ago
I thought they meant the object automatically snaps to the nearest target in real-time.
1 comments

The person who described the algorithm made it that way, but I added a `const closeEnoughToSnapDistance = 200` to make it more like Trello; once you get close enough, it will snap.