From f2c9bd8d4f527892502c7032edda347a142bb703 Mon Sep 17 00:00:00 2001 From: omar Date: Thu, 5 Oct 2017 16:39:59 -0700 Subject: [PATCH] Nav: Fixed uninitialized context variables for sanity. --- imgui_internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imgui_internal.h b/imgui_internal.h index 1bb475053..10efd74c5 100644 --- a/imgui_internal.h +++ b/imgui_internal.h @@ -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;