Skip to content

Commit

Permalink
Merge pull request #877 from Velro/patch-1
Browse files Browse the repository at this point in the history
Demo: Outdated dragging API mentioned in demo text
  • Loading branch information
ocornut authored Oct 16, 2016
2 parents b3790e7 + 6fa3aaf commit 43e6c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgui_demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down

0 comments on commit 43e6c46

Please sign in to comment.