mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-10-26 12:27:30 +00:00 
			
		
		
		
	Comments, todo list, remove trailing spaces.
This commit is contained in:
		| @@ -2646,7 +2646,7 @@ static void ShowDemoWindowMisc() | ||||
|             for (int button = 0; button < 3; button++) | ||||
|                 ImGui::Text("IsMouseDragging(%d):\n  w/ default threshold: %d,\n  w/ zero threshold: %d\n  w/ large threshold: %d", | ||||
|                     button, ImGui::IsMouseDragging(button), ImGui::IsMouseDragging(button, 0.0f), ImGui::IsMouseDragging(button, 20.0f)); | ||||
|          | ||||
|  | ||||
|             ImGui::Button("Drag Me"); | ||||
|             if (ImGui::IsItemActive()) | ||||
|                 ImGui::GetForegroundDrawList()->AddLine(io.MouseClickedPos[0], io.MousePos, ImGui::GetColorU32(ImGuiCol_Button), 4.0f); // Draw a line between the button and the mouse cursor | ||||
|   | ||||
		Reference in New Issue
	
	Block a user