mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-27 09:12:41 +00:00
commit
69c7195077
@ -318,7 +318,8 @@ void DragEventActuator::OnCollectTouchTarget(const OffsetF& coordinateOffset, co
|
||||
CHECK_NULL_VOID(frameNode);
|
||||
auto prepareDragFrameNode = dragDropManager->GetPrepareDragFrameNode().Upgrade();
|
||||
if (dragDropManager->GetPreDragStatus() >= PreDragStatus::PREVIEW_LANDING_FINISHED ||
|
||||
(frameNode->GetContextRefPtr() == pipeline && frameNode != prepareDragFrameNode)) {
|
||||
(frameNode->GetContextRefPtr() == pipeline && frameNode != prepareDragFrameNode &&
|
||||
info.GetSourceDevice() != SourceType::MOUSE)) {
|
||||
TAG_LOGI(AceLogTag::ACE_DRAG, "Drag preview is landing finished, stop dragging.");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user