dulimarta / spherical-easel

https://spherical-easel.vercel.app
Other
3 stars 7 forks source link

Selecting Labels #77

Closed dickinson0718 closed 5 months ago

dickinson0718 commented 5 months ago

Create a circle, display its label, turn on the move tool. We can't move the label of the circle.

Same is true for segments, circles, and lines -- but you can select and move the label of a point.

dulimarta commented 5 months ago

MoveHandler checks for isFreeToMove(), but SENodule::isFreeToMove() returns true when every parent of an object is a free point.

Fix the issue by overriding SELabel::isFreeToMove() to return true