mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Oops
This commit is contained in:
parent
405785ea62
commit
d05c1d58c3
@ -4116,7 +4116,7 @@ void ImGui::PopTextWrapPos()
|
|||||||
{
|
{
|
||||||
ImGuiWindow* window = GetCurrentWindow();
|
ImGuiWindow* window = GetCurrentWindow();
|
||||||
window->DC.TextWrapPosStack.pop_back();
|
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)
|
void ImGui::PushStyleColor(ImGuiCol idx, const ImVec4& col)
|
||||||
|
Loading…
Reference in New Issue
Block a user