abbottjord94 / AgSwift

AgSwift library and GUI
0 stars 0 forks source link

Edge selection not properly working #40

Open abbottjord94 opened 2 years ago

abbottjord94 commented 2 years ago

Edges still can't be properly selected in the GUI. There's some problem with the math logic in the EdgeClickable distanceFromEdge function that's causing the GUI to select EdgeClickables improperly

Steps to Reproduce:

Create some EdgeClickables on the drawing surface, and then try to select a few of them. Some will not select at all, and some will be selected even though they are far away from the click point