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

docking
ocornut 10 years ago
parent 3b3a32cbd6
commit a71fc8e6a5

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

Loading…
Cancel
Save