[go: nahoru, domu]

Skip to content

Commit

Permalink
[NUI] DragAndDrop : Allow to get mimetype for Enter and Move events
Browse files Browse the repository at this point in the history
  • Loading branch information
taehyub authored and hinohie committed Dec 18, 2023
1 parent d483b9b commit ae0138d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Tizen.NUI/src/public/DragAndDrop/DragAndDrop.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ public void AddListener(View targetView, DragAndDropEventHandler callback)
if (type == DragType.Enter)
{
ev.DragType = type;
ev.MimeType = Interop.DragAndDrop.GetMimeType(dragEvent);
callback(targetView, ev);
}
else if (type == DragType.Leave)
Expand All @@ -204,6 +205,7 @@ public void AddListener(View targetView, DragAndDropEventHandler callback)
else if (type == DragType.Move)
{
ev.DragType = type;
ev.MimeType = Interop.DragAndDrop.GetMimeType(dragEvent);
callback(targetView, ev);
}
else if (type == DragType.Drop)
Expand Down

0 comments on commit ae0138d

Please sign in to comment.