mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Merge pull request #877 from Velro/patch-1
Demo: Outdated dragging API mentioned in demo text
This commit is contained in:
		@@ -1542,7 +1542,7 @@ void ImGui::ShowTestWindow(bool* p_open)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        if (ImGui::TreeNode("Dragging"))
 | 
					        if (ImGui::TreeNode("Dragging"))
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            ImGui::TextWrapped("You can use ImGui::GetItemActiveDragDelta() to query for the dragged amount on any widget.");
 | 
					            ImGui::TextWrapped("You can use ImGui::GetMouseDragDelta(0) to query for the dragged amount on any widget.");
 | 
				
			||||||
            ImGui::Button("Drag Me");
 | 
					            ImGui::Button("Drag Me");
 | 
				
			||||||
            if (ImGui::IsItemActive())
 | 
					            if (ImGui::IsItemActive())
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user