diff --git a/imgui_demo.cpp b/imgui_demo.cpp index e2ede9bd..544d6230 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -1542,7 +1542,7 @@ void ImGui::ShowTestWindow(bool* p_open) 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"); if (ImGui::IsItemActive()) {