From: Caisking <3449750381@qq.com> Date: Fri, 18 Oct 2024 11:47:58 +0000 (+0800) Subject: #1013 运动中从数据面滑至暂停页后停留一会,再滑至数据页,计时会有跳变过程 X-Git-Tag: release_V1.2.70_20241020_135402~14 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=10a948d46970eeb28e5a7c876750f63de13e896a;p=mirrors%2FFD230.git #1013 运动中从数据面滑至暂停页后停留一会,再滑至数据页,计时会有跳变过程 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/traing/training_card/src/TraingCardView.cpp b/code/sdk/application/wearable/fd230app/nativeui/traing/training_card/src/TraingCardView.cpp index bd6580811..d0ef24a96 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/traing/training_card/src/TraingCardView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/traing/training_card/src/TraingCardView.cpp @@ -389,7 +389,9 @@ void TraingCardView::OnStart() { swipe_->SetDraggable(true); swipe_->SetStyle(STYLE_BACKGROUND_COLOR, BACK_GROUND_COLOR); swipe_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Black().full); - swipe_->EnableScreenCap(true); + + swipe_->EnableScreenCap(false); + swipe_->SetAnimatorTime(50); SetContainerView(swipe_);