未验证 提交 b3c7800c 编写于 作者: O openharmony_ci 提交者: Gitee

!832 swiper控件页面快速滑动切换页面概率性切换失败

Merge pull request !832 from 施其昌/master
......@@ -314,12 +314,10 @@ void PointerInputDevice::UpdateEventViews(UIView* view)
// invalid touchable and draggable view will be reset to nullptr
if ((touchableView_ != nullptr) && RootView::FindSubView(*view, touchableView_)) {
touchableView_ = nullptr;
lastPos_ = curPos_;
}
if ((draggableView_ != nullptr) && RootView::FindSubView(*view, draggableView_)) {
draggableView_ = nullptr;
lastPos_ = curPos_;
dragLastPos_ = curPos_;
dragLen_ = {0, 0};
dragStep_ = {0, 0};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册