mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-22 20:07:01 +00:00
Fixed MouseClickedPos not updated on double-click update (fix #167)
This commit is contained in:
parent
3b3a32cbd6
commit
a71fc8e6a5
@ -1835,8 +1835,8 @@ void ImGui::NewFrame()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
g.IO.MouseClickedTime[i] = g.Time;
|
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++)
|
for (size_t i = 0; i < IM_ARRAYSIZE(g.IO.KeysDown); i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user