Fixed MouseClickedPos not updated on double-click update (fix #167)

This commit is contained in:
ocornut 2015-03-20 10:46:07 +00:00
parent 3b3a32cbd6
commit a71fc8e6a5

View File

@ -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++)