From b39cd12385baefaa4a120d3997a6621315e9f1fc Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Thu, 8 Jan 2026 15:46:43 +0800 Subject: [PATCH] =?utf8?q?=E5=B1=8F=E8=94=BDscrollview=E8=A1=A8=E5=86=A0?= =?utf8?q?=E9=9C=87=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../gui/uikit/ui/frameworks/components/ui_scroll_view.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/sdk/middleware/services/gui/uikit/ui/frameworks/components/ui_scroll_view.cpp b/code/sdk/middleware/services/gui/uikit/ui/frameworks/components/ui_scroll_view.cpp index f00e576e5..681b3d53a 100644 --- a/code/sdk/middleware/services/gui/uikit/ui/frameworks/components/ui_scroll_view.cpp +++ b/code/sdk/middleware/services/gui/uikit/ui/frameworks/components/ui_scroll_view.cpp @@ -144,14 +144,14 @@ bool UIScrollView::OnRotateEvent(const RotateEvent& event) uint16_t vibrationCnt = rotateLen / vibrationLenThreshold_; for (uint16_t i = 0; i < vibrationCnt; i++) { GRAPHIC_LOGI("UIScrollView::OnRotateEvent calls TYPE_ONE vibrator"); - vibratorFunc(VibratorType::VIBRATOR_TYPE_ONE); + // vibratorFunc(VibratorType::VIBRATOR_TYPE_ONE); } lastVibratorRotateLen_ = totalRotateLen_; } } if (vibratorFunc != nullptr && (!lastIsEdge && isEdge)) { GRAPHIC_LOGI("UIScrollView::OnRotateEvent calls TYPE_THREE vibrator"); - vibratorFunc(VibratorType::VIBRATOR_TYPE_THREE); + // vibratorFunc(VibratorType::VIBRATOR_TYPE_THREE); } #endif return UIView::OnRotateEvent(event); -- 2.17.1