nasaonacid / abstractAardvark

0 stars 0 forks source link

fix the distance at which a class snaps to a slot in the tree #24

Closed nasaonacid closed 9 years ago

nasaonacid commented 9 years ago

At the moment, this snap distance is an absolute value - we want it to depend on the current size of the canvas

nasaonacid commented 9 years ago

make the distance a proportion of the box width

nasaonacid commented 9 years ago

Snap will now occur if box is within half a box distance of the slot