From 08b0c0a563b03d330a44d775daf58f065a186baa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E5=87=AF?= Date: Sat, 13 Sep 2025 20:04:38 +0800 Subject: [PATCH] =?UTF-8?q?SetGestureInterceptTo=20=E6=B7=BB=E5=8A=A0scree?= =?UTF-8?q?nX/Y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘永凯 --- .../core/interfaces/native/node/node_gesture_modifier.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frameworks/core/interfaces/native/node/node_gesture_modifier.cpp b/frameworks/core/interfaces/native/node/node_gesture_modifier.cpp index a5276cb9356..cdbe198e44a 100644 --- a/frameworks/core/interfaces/native/node/node_gesture_modifier.cpp +++ b/frameworks/core/interfaces/native/node/node_gesture_modifier.cpp @@ -387,6 +387,8 @@ void GetBaseGestureEvent(ArkUIAPIEventGestureAsyncEvent* ret, ArkUITouchEvent& r points[i].id = fingureIterator->fingerId_; points[i].windowX = fingureIterator->globalLocation_.GetX(); points[i].windowY = fingureIterator->globalLocation_.GetY(); + points[i].screenX = fingureIterator->screenLocation_.GetX(); + points[i].screenY = fingureIterator->screenLocation_.GetY(); points[i].nodeX = fingureIterator->localLocation_.GetX(); points[i].nodeY = fingureIterator->localLocation_.GetY(); points[i].tiltX = rawInputEvent.actionTouchPoint.tiltX; -- Gitee