mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-19 14:43:36 -04:00
swiper组件设置自动播放后onchange事件不响应
Signed-off-by: kangchongtao <kangchongtao@huawei.com> Change-Id: I994f62b19f5855ea213332a8bfaaa6b04bf0b198
This commit is contained in:
@@ -2895,6 +2895,7 @@ void RenderSwiper::StartIndicatorAnimation(int32_t fromIndex, int32_t toIndex, b
|
||||
swiper->isIndicatorAnimationStart_ = false;
|
||||
swiper->outItemIndex_ = fromIndex;
|
||||
swiper->currentIndex_ = toIndex;
|
||||
swiper->FireItemChangedEvent(true);
|
||||
swiper->UpdateIndicatorSpringStatus(SpringStatus::FOCUS_SWITCH);
|
||||
swiper->MarkNeedLayout(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user