From: luozheng <1732036298@qq.com> Date: Sat, 26 Oct 2024 09:50:40 +0000 (+0800) Subject: #1108,解决,音乐列表的音乐,在点击查找手机后,退出再次查看就显示一首,然后需要下滑才会显示完整bug X-Git-Tag: fd230_release_V1.3.102~176^2~9 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=b2e946e05479c6e9b9ae313b1f8acd48c4be186f;p=mirrors%2FFD230.git #1108,解决,音乐列表的音乐,在点击查找手机后,退出再次查看就显示一首,然后需要下滑才会显示完整bug --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/player/src/PlayersView.cpp b/code/sdk/application/wearable/fd230app/nativeui/player/src/PlayersView.cpp index 19709e522..a81182983 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/player/src/PlayersView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/player/src/PlayersView.cpp @@ -334,7 +334,7 @@ namespace OHOS return nullptr; } musicList->SetPosition(68, 120, 330, 320); - musicList->SetStartIndex(PlayersModel::GetInstance()->GetCurrentIndex()); + // musicList->SetStartIndex(PlayersModel::GetInstance()->GetCurrentIndex()); musicList->SetThrowDrag(true); musicList->SetIntercept(true); musicList->SetMaxScrollDistance(1000);