Navigation: Fixed missing initialization (had no side-effect, would be set in Begin) (#323)

This commit is contained in:
ocornut 2016-07-24 14:08:50 +02:00
parent 49ec65b1b5
commit a424d6f805

View File

@ -640,7 +640,7 @@ struct IMGUI_API ImGuiDrawContext
LayoutType = ImGuiLayoutType_Vertical; LayoutType = ImGuiLayoutType_Vertical;
ItemWidth = 0.0f; ItemWidth = 0.0f;
ButtonRepeat = false; ButtonRepeat = false;
AllowKeyboardFocus = true; AllowKeyboardFocus = AllowNavDefaultFocus = true;
TextWrapPos = -1.0f; TextWrapPos = -1.0f;
ColorEditMode = ImGuiColorEditMode_RGB; ColorEditMode = ImGuiColorEditMode_RGB;
memset(StackSizesBackup, 0, sizeof(StackSizesBackup)); memset(StackSizesBackup, 0, sizeof(StackSizesBackup));