HitTestResult on MouseUp

May 8, 2012 at 3:03 PM

Currently the MouseDown event includes the HitTestResult element, but the MouseUp (or MouseMove) don't seem to have it. I can also not find in the source if I am mistaken. 

Would it be possible to include the HitTestResult element in the MouseUp event, or is there an easy way of calculating the closest element myself?

Coordinator
May 10, 2012 at 11:16 PM

You are right, currently the hit testing is only performed on the mouse down event. Similar code can be added to the mouse up event, will consider adding it later. See the source code for the mouse down event how you can find the closest element, it should be possible to copy/paste the code.