diff --git a/extern/imgui_patched/imgui_widgets.cpp b/extern/imgui_patched/imgui_widgets.cpp index df7fc5d07..bcb99540e 100644 --- a/extern/imgui_patched/imgui_widgets.cpp +++ b/extern/imgui_patched/imgui_widgets.cpp @@ -539,7 +539,7 @@ void ImGui::ScrollText(ImGuiID id, const char* text, const ImVec2& pos, ImVec2 s ImDrawList* dl=window->DrawList; ImGuiStorage* storage=GetStateStorage(); - ImVec2 textSize=ImGui::CalcTextSize(text); + ImVec2 textSize=ImGui::CalcTextSize(text, NULL, true); bool mustNotScroll=false; if (size.x==0) {