From a71fc8e6a51d50185fe8c31bae4497ec929ff044 Mon Sep 17 00:00:00 2001 From: ocornut Date: Fri, 20 Mar 2015 10:46:07 +0000 Subject: [PATCH] Fixed MouseClickedPos not updated on double-click update (fix #167) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index d654e1b6..6ae27108 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -1835,8 +1835,8 @@ void ImGui::NewFrame() else { g.IO.MouseClickedTime[i] = g.Time; - g.IO.MouseClickedPos[i] = g.IO.MousePos; } + g.IO.MouseClickedPos[i] = g.IO.MousePos; } } for (size_t i = 0; i < IM_ARRAYSIZE(g.IO.KeysDown); i++)