mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-14 00:34:18 +00:00
Oops
This commit is contained in:
parent
405785ea62
commit
d05c1d58c3
1 changed files with 1 additions and 1 deletions
|
|
@ -4116,7 +4116,7 @@ void ImGui::PopTextWrapPos()
|
|||
{
|
||||
ImGuiWindow* window = GetCurrentWindow();
|
||||
window->DC.TextWrapPosStack.pop_back();
|
||||
window->DC.TextWrapPos = window->DC.TextWrapPosStack.back();
|
||||
window->DC.TextWrapPos = window->DC.TextWrapPosStack.empty() ? -1.0f : window->DC.TextWrapPosStack.back();
|
||||
}
|
||||
|
||||
void ImGui::PushStyleColor(ImGuiCol idx, const ImVec4& col)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue