mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Internal: InputTextEx: tweaked a bit of code (should be a no-op)
This commit is contained in:
parent
f1f321d3f6
commit
73fa6509a5
2 changed files with 17 additions and 14 deletions
|
|
@ -4303,7 +4303,7 @@ void ImGui::Render()
|
|||
}
|
||||
|
||||
// Calculate text size. Text can be multi-line. Optionally ignore text after a ## marker.
|
||||
// CalcTextSize("") should return ImVec2(0.0f, GImGui->FontSize)
|
||||
// CalcTextSize("") should return ImVec2(0.0f, g.FontSize)
|
||||
ImVec2 ImGui::CalcTextSize(const char* text, const char* text_end, bool hide_text_after_double_hash, float wrap_width)
|
||||
{
|
||||
ImGuiContext& g = *GImGui;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue