From: Caisking Date: Thu, 22 Jan 2026 03:08:50 +0000 (+0800) Subject: 运动准备界面修复随意滑动 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=f7afa51d0640e42c0930db355f087f28393a63a3;p=mirrors%2FFD230.git 运动准备界面修复随意滑动 --- diff --git a/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/src/TraingNomalPresenter.cpp b/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/src/TraingNomalPresenter.cpp index 48bcec316..e229ca6a2 100644 --- a/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/src/TraingNomalPresenter.cpp +++ b/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/src/TraingNomalPresenter.cpp @@ -110,8 +110,10 @@ namespace OHOS UNUSED(view); // 在拖拽结束时判断是否满足退出条件 WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "TraingNomalPresenter::OnDragEnd"); - NavigateBack(); - + if (event.GetDragDirection() == DragEvent::DIRECTION_LEFT_TO_RIGHT) + { + NavigateBack(); + } return true; }