From: luozheng <1732036298@qq.com> Date: Thu, 8 Jan 2026 07:46:43 +0000 (+0800) Subject: 屏蔽scrollview表冠震动 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=b39cd12385baefaa4a120d3997a6621315e9f1fc;p=mirrors%2FFD230.git 屏蔽scrollview表冠震动 --- 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);