mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 05:01:05 +01:00 
			
		
		
		
	DragDrop: Added IsDragDropActive() helper which is useful for binding to decide how to handle mouse inputs.
This commit is contained in:
		| @@ -11478,6 +11478,12 @@ void ImGui::EndDragDropTarget() | ||||
|     IM_ASSERT(g.DragDropActive); | ||||
| } | ||||
|  | ||||
| bool ImGui::IsDragDropActive() | ||||
| { | ||||
|     ImGuiContext& g = *GImGui; | ||||
|     return g.DragDropActive; | ||||
| } | ||||
|  | ||||
| //----------------------------------------------------------------------------- | ||||
| // PLATFORM DEPENDENT HELPERS | ||||
| //----------------------------------------------------------------------------- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user