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;
ItemWidth = 0.0f;
ButtonRepeat = false;
AllowKeyboardFocus = true;
AllowKeyboardFocus = AllowNavDefaultFocus = true;
TextWrapPos = -1.0f;
ColorEditMode = ImGuiColorEditMode_RGB;
memset(StackSizesBackup, 0, sizeof(StackSizesBackup));