Skip to content

Commit 3a97c6a

Browse files
kekekeksMrJul
authored andcommitted
In-process dnd should always handle pointermoved for consistency with actual dnd (#18287)
1 parent dadcfd0 commit 3a97c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Avalonia.Controls/Platform/InProcessDragSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,11 @@ void CheckDraggingAccepted(RawInputModifiers changedMouseButton)
202202
case RawPointerEventType.RightButtonUp:
203203
CheckDraggingAccepted(RawInputModifiers.RightMouseButton); break;
204204
case RawPointerEventType.Move:
205+
e.Handled = true;
205206
var mods = e.InputModifiers & MOUSE_INPUTMODIFIERS;
206207
if (_initialInputModifiers.Value != mods)
207208
{
208209
CancelDragging();
209-
e.Handled = true;
210210
return;
211211
}
212212

0 commit comments

Comments
 (0)