Comments, adding some spacing in ImVec2() constructors.

This commit is contained in:
ocornut
2020-06-02 18:13:54 +02:00
parent 3f26a07ee1
commit 41e8837f59
6 changed files with 36 additions and 35 deletions

View File

@ -2873,7 +2873,7 @@ ImVec2 ImFont::CalcTextSizeA(float size, float max_width, float wrap_width, cons
const float line_height = size;
const float scale = size / FontSize;
ImVec2 text_size = ImVec2(0,0);
ImVec2 text_size = ImVec2(0, 0);
float line_width = 0.0f;
const bool word_wrap_enabled = (wrap_width > 0.0f);