Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 1589 #1763

Merged
merged 2 commits into from
Jan 13, 2025
Merged

Fix 1589 #1763

merged 2 commits into from
Jan 13, 2025

Conversation

beto-rodriguez
Copy link
Owner

fixes #1589

The ClosestTo FindingStrategies were always considering both X and Y to calculate the distance to a point, this is wrong because some FindingStrategies ignore X or Y depending on the case, this PR helps the HoverArea.DistanceTo function to consider the actual coordinates described on the strategy.

@beto-rodriguez beto-rodriguez merged commit c7aff98 into dev Jan 13, 2025
4 checks passed
@beto-rodriguez beto-rodriguez deleted the fix-1589 branch January 13, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant