当applist为瀑布流时,解决因滑动屏幕造成的死机问题
authorluozheng <1732036298@qq.com>
Mon, 23 Jun 2025 09:32:59 +0000 (17:32 +0800)
committerluozheng <1732036298@qq.com>
Mon, 23 Jun 2025 09:32:59 +0000 (17:32 +0800)
code/sdk/middleware/services/gui/uikit/ui/frameworks/dock/pointer_input_device.cpp

index 64578d9..d03b1fa 100644 (file)
@@ -267,9 +267,6 @@ void PointerInputDevice::DispatchDragStartEvent()
             MATH_ABS(dragLen_.x),DRAG_LIMIT_X,
             MATH_ABS(dragLen_.y),DRAG_LIMIT_Y);
 
-            if ((touchableView_ != nullptr) && !cancelSent_) {
-                DispatchCancelEvent();
-            }
             // Send Drag Begin Event.
             DragEvent evt(curPos_, lastPos_, dragLen_);
             UIView* parent = draggableView_->GetParent();