mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Retrieve filenames from drop event
This commit is contained in:
@@ -1206,9 +1206,10 @@ namespace GlitchyEditor
|
||||
|
||||
if (_isDraggingFromOutside)
|
||||
{
|
||||
// Reset drop effect, so the drop targets have to set it themselves (and don't "leak" it).
|
||||
SetDropEffect(.None);
|
||||
|
||||
if (ImGui.BeginDragDropSource(.SourceExtern | .SourceAutoExpirePayload))
|
||||
if (ImGui.BeginDragDropSource(.SourceExtern | .SourceAutoExpirePayload | .SourceNoPreviewTooltip))
|
||||
{
|
||||
ImGui.SetDragDropPayload(.ExternFiles, null, 0);
|
||||
ImGui.EndDragDropSource();
|
||||
|
||||
Reference in New Issue
Block a user