mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-26 13:37:00 +00:00
Comments
This commit is contained in:
parent
ad3c9f620d
commit
f0aca186cc
@ -2833,6 +2833,7 @@ ImVec2 ImGui::GetMousePos()
|
|||||||
return GImGui->IO.MousePos;
|
return GImGui->IO.MousePos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NB: prefer to call right after BeginPopup(). At the time Selectable/MenuItem is activated, the popup is already closed!
|
||||||
ImVec2 ImGui::GetMousePosOnOpeningCurrentPopup()
|
ImVec2 ImGui::GetMousePosOnOpeningCurrentPopup()
|
||||||
{
|
{
|
||||||
ImGuiState& g = *GImGui;
|
ImGuiState& g = *GImGui;
|
||||||
|
Loading…
Reference in New Issue
Block a user