mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-03 02:24:31 +00:00
Drag and Drop: BeginDragDropSource() with ImGuiDragDropFlags_SourceExtern. (#143)
Amend 0c6e260f7
This commit is contained in:
@@ -13234,6 +13234,8 @@ bool ImGui::BeginDragDropSource(ImGuiDragDropFlags flags)
|
||||
window = NULL;
|
||||
source_id = ImHashStr("#SourceExtern");
|
||||
source_drag_active = true;
|
||||
KeepAliveID(source_id);
|
||||
SetActiveID(source_id, NULL);
|
||||
}
|
||||
|
||||
IM_ASSERT(g.DragDropWithinTarget == false); // Can't nest BeginDragDropSource() and BeginDragDropTarget()
|
||||
|
||||
Reference in New Issue
Block a user