From 7c743ea9122d1a6894e33c70334dbf208e923222 Mon Sep 17 00:00:00 2001 From: jjxxx123 <1720356274@qq.com> Date: Fri, 12 Sep 2025 14:37:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A4=9A=E5=B1=8F=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E7=BB=9F=E4=B8=80translate=E4=BD=8D=E7=A7=BB=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jjxxx123 <1720356274@qq.com> --- window_scene/session/host/src/scene_session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/window_scene/session/host/src/scene_session.cpp b/window_scene/session/host/src/scene_session.cpp index 0e2db2ae87..db9c472813 100644 --- a/window_scene/session/host/src/scene_session.cpp +++ b/window_scene/session/host/src/scene_session.cpp @@ -2756,7 +2756,7 @@ std::optional SceneSession::GetLastModalUIExtensionEve Vector2f SceneSession::GetSessionGlobalPosition(bool useUIExtension) { - WSRect windowRect = GetSessionGlobalRect(); + WSRect windowRect = GetSessionGlobalRectInMultiScreen(); if (useUIExtension) { if (auto modalUIExtensionEventInfo = GetLastModalUIExtensionEventInfo()) { const auto& rect = modalUIExtensionEventInfo.value().windowRect; -- Gitee