mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
IAccessible objects should implement accHitTest. Our implementation, in AXPlatformNodeWin, delegates hit testing to AXPlatformNodeDelegate::HitTestSync. Here, we do a quick recursive depth-first walk of the accessibility tree to return the best match. We define the best match as the deepest node in the tree that contains the point under test whose children do not. Issue: https://github.com/flutter/flutter/issues/77838