1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-17 01:04:19 +00:00

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));