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