mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-14 00:34:18 +00:00
Nav: Fixed uninitialized context variables for sanity.
This commit is contained in:
parent
a3d0755181
commit
f2c9bd8d4f
1 changed files with 2 additions and 0 deletions
|
|
@ -573,6 +573,7 @@ struct ImGuiContext
|
|||
ActiveIdIsAlive = false;
|
||||
ActiveIdIsJustActivated = false;
|
||||
ActiveIdAllowOverlap = false;
|
||||
ActiveIdAllowNavDirFlags = 0;
|
||||
ActiveIdClickOffset = ImVec2(-1,-1);
|
||||
ActiveIdWindow = NULL;
|
||||
ActiveIdSource = ImGuiInputSource_None;
|
||||
|
|
@ -586,6 +587,7 @@ struct ImGuiContext
|
|||
NavWindowingTarget = NULL;
|
||||
NavWindowingDisplayAlpha = 0.0f;
|
||||
NavWindowingToggleLayer = false;
|
||||
NavLayer = 0;
|
||||
NavIdTabCounter = INT_MAX;
|
||||
NavIdIsAlive = false;
|
||||
NavMousePosDirty = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue