mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
Amend f6890ed mostly to please static analyzers.
This commit is contained in:
parent
1c544ee941
commit
bf75bfec48
1 changed files with 1 additions and 1 deletions
|
|
@ -13431,7 +13431,7 @@ static ImVec2 ImGui::NavCalcPreferredRefPos()
|
|||
ImRect ref_rect;
|
||||
if (activated_shortcut)
|
||||
ref_rect = g.LastItemData.NavRect;
|
||||
else
|
||||
else if (window != NULL)
|
||||
ref_rect = WindowRectRelToAbs(window, window->NavRectRel[g.NavLayer]);
|
||||
|
||||
// Take account of upcoming scrolling (maybe set mouse pos should be done in EndFrame?)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue