From 8c6654f63f947cb1ef4eff0317de3c94b5bacbba Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Mon, 28 Oct 2024 10:27:54 +0800 Subject: [PATCH] =?utf8?q?=E4=BC=98=E5=8C=96=E9=9F=B3=E4=B9=90=E6=92=AD?= =?utf8?q?=E6=94=BE=E5=99=A8=E5=88=97=E8=A1=A8=EF=BC=8C=E5=9C=A8=E5=B0=91?= =?utf8?q?=E4=BA=8E4=E9=A6=96=E6=97=B6=E5=8F=96=E6=B6=88=E5=9B=9E=E5=BC=B9?= =?utf8?q?=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/fd230app/nativeui/player/src/PlayersView.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 a81182983..6bfd5e58a 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/player/src/PlayersView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/player/src/PlayersView.cpp @@ -340,7 +340,7 @@ namespace OHOS musicList->SetMaxScrollDistance(1000); musicList->SetDragACCLevel(5); musicList->SetSwipeACCLevel(800); /*设置手指抬起屏幕后的补偿距离。*/ - musicList->SetReboundSize(35); + // musicList->SetReboundSize(35); // musicList->SetScrollBlankSize(35); // 增加表冠控制 musicList->SetRotateFactor(1.0); @@ -913,10 +913,12 @@ namespace OHOS if (count > 4) { musicList->SetHeight(320); + musicList->SetReboundSize(35); } else { musicList->SetHeight(count * 70); + musicList->SetReboundSize(0); } } musicList->RefreshList(); -- 2.17.1