commit | 417cf2237f6ad136cf36a9317b6e1af001865363 | [log] [tgz] |
---|---|---|
author | omar <omarcornut@gmail.com> | Tue Feb 12 22:43:56 2019 +0100 |
committer | omar <omarcornut@gmail.com> | Tue Feb 12 22:43:56 2019 +0100 |
tree | 1810edd5f5a56d9fd13bc617c5378b2f66b47958 | |
parent | 0640b6e67cddbfbbfc9856c12236a78550b310da [diff] |
Font: Fixed high-level ImGui::CalcTextSize() used by most widgets from erroneously subtracting 1.0f*scale to calculated text width. Among noticeable side-effects, it would make sequences of repeated Text/SameLine calls not align the same as a single call, and create mismatch between high-level size calculation and those performed with the lower-level ImDrawList api. (#792)