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 RectangleF.Contains(pointf) #2555

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

cwensley
Copy link
Member

new RectangleF(2f, 2f).Contains(1.5f, 1.5f) would return false as this is incorrectly using InnerRight/InnerBottom. Also changed Rectangle.Contains() to not use those as well though it doesn't change their behaviour..

@cwensley cwensley added the bug label Sep 20, 2023
@cwensley cwensley added this to the 2.8.1 milestone Sep 20, 2023
@cwensley cwensley merged commit 18c03dd into picoe:develop Sep 20, 2023
3 checks passed
@cwensley cwensley deleted the curtis/fix-rectanglef-contains branch September 20, 2023 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant