-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
ICustomHitTest not working #5879
Comments
Yeah, |
Actually, ignore the above comment. It was implemented for the deferred renderer too in this commit: However note the comment:
Might this be what you were seeing? |
Centering the line in the window in this example breaks on immediate renderer, it incorrectly hit tests in the top left corner |
When using a non-fill Rectangle as an Adorner, the method
returns true on the entire area, not just on the borders As a result, all events of the Adorned element are blocked. |
Describe the bug
It seems that implementing
ICustomHitTest
onShape
doesn't have any effect. It does work with the immediate rendererUseDeferredRendering=false
) though.To Reproduce
shape_custom_hittesting_bug.patch.txt
Expected behavior
I would expect the custom hit testing to work.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: