1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-02-02 03:40:06 +00:00

Comments (#2599). Moved branch Changelog above 1.71 wip one. Added some missing changelog bits.

This commit is contained in:
omar 2019-05-31 23:54:15 +02:00
parent 596d81a973
commit 5cdd788f30
4 changed files with 81 additions and 69 deletions

View file

@ -5768,6 +5768,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags)
flags = window->Flags;
// Lock border size and padding for the frame (so that altering them doesn't cause inconsistencies)
// We read Style data after the call to UpdateSelectWindowViewport() which might be swapping the style.
if (flags & ImGuiWindowFlags_ChildWindow)
window->WindowBorderSize = style.ChildBorderSize;
else