mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Separator: Fixed Separator() outputting an extraneous empty line when captured into clipboard/text/file.
This commit is contained in:
parent
baf67d393f
commit
1bfcf8f339
@ -38,6 +38,7 @@ Breaking Changes:
|
|||||||
Other Changes:
|
Other Changes:
|
||||||
|
|
||||||
- When the focused window become inactive don't restore focus to a window with the ImGuiWindowFlags_NoInputs flag. (#2213) [@zzzyap]
|
- When the focused window become inactive don't restore focus to a window with the ImGuiWindowFlags_NoInputs flag. (#2213) [@zzzyap]
|
||||||
|
- Separator: Fixed Separator() outputting an extraneous empty line when captured into clipboard/text/file.
|
||||||
- Examples: SDL: changed the signature of ImGui_ImplSDL2_ProcessEvent() to use a const SDL_Event*. (#2187)
|
- Examples: SDL: changed the signature of ImGui_ImplSDL2_ProcessEvent() to use a const SDL_Event*. (#2187)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1153,7 +1153,7 @@ void ImGui::Separator()
|
|||||||
window->DrawList->AddLine(bb.Min, ImVec2(bb.Max.x,bb.Min.y), GetColorU32(ImGuiCol_Separator));
|
window->DrawList->AddLine(bb.Min, ImVec2(bb.Max.x,bb.Min.y), GetColorU32(ImGuiCol_Separator));
|
||||||
|
|
||||||
if (g.LogEnabled)
|
if (g.LogEnabled)
|
||||||
LogRenderedText(NULL, IM_NEWLINE "--------------------------------");
|
LogRenderedText(&bb.Min, "--------------------------------");
|
||||||
|
|
||||||
if (window->DC.ColumnsSet)
|
if (window->DC.ColumnsSet)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user