mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-27 01:03:08 +00:00
Merge pull request !48149 from tomkl123/revert-merge-46496-master
This commit is contained in:
commit
8ee4f68935
@ -3699,7 +3699,7 @@ RefPtr<FrameNode> FrameNode::FindChildByPosition(float x, float y)
|
||||
}
|
||||
|
||||
auto globalFrameRect = geometryNode->GetFrameRect();
|
||||
globalFrameRect.SetOffset(child->GetPositionToWindowWithTransform());
|
||||
globalFrameRect.SetOffset(child->GetOffsetRelativeToWindow());
|
||||
|
||||
if (globalFrameRect.IsInRegion(PointF(x, y))) {
|
||||
hitFrameNodes.insert(std::make_pair(child->GetDepth(), child));
|
||||
|
Loading…
Reference in New Issue
Block a user