1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-25 08:10:30 +01:00

Minor construction fix (-1.0 is correct "disabled" value for TextWrapPos, didn't have any incidence anyway)

This commit is contained in:
ocornut 2015-06-24 19:53:41 -06:00
parent d171e48b20
commit 975ef00682

View File

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