소스 검색

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

ocornut 10 년 전
부모
커밋
975ef00682
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      imgui.cpp

+ 1 - 1
imgui.cpp

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