We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is because the first test in wxSFLineShape::GetHitLinesegment is whether the point is within the line's bounding box.
wxSFLineShape::GetHitLinesegment
Given that a horizontal line has a bounding box of 2px height, it requires very accurate mouse placement.
Suggest to inflate the line bounding box before testing for "Contains".
wxRect wholeLineBB = GetBoundingBox(); wholeLineBB.Inflate(3); if(!wholeLineBB.Contains(pos)) return -1;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is because the first test in
wxSFLineShape::GetHitLinesegment
is whether the point is within the line's bounding box.Given that a horizontal line has a bounding box of 2px height, it requires very accurate mouse placement.
Suggest to inflate the line bounding box before testing for "Contains".
The text was updated successfully, but these errors were encountered: