提交 c256212a 编写于 作者: L liqiang

fix swipeview scroll bug

Change-Id: I4719fee66cfaa1840bc2fbbe11bb5772604960b6
上级 18991223
......@@ -98,7 +98,9 @@ void UISwipeView::MoveHeadOrTailChild()
void UISwipeView::SetCurrentPage(uint16_t index, bool needAnimator)
{
MoveHeadOrTailChild();
if (needAnimator) {
MoveHeadOrTailChild();
}
SwitchToPage(index, needAnimator);
Invalidate();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册