From 4ce63a2bc9f837f02c15c75c89d23d33ad164e0c Mon Sep 17 00:00:00 2001 From: CheckmateAt7 <66566308+CheckmateAt7@users.noreply.github.com> Date: Fri, 12 Mar 2021 17:51:31 +0100 Subject: [PATCH] Removed deprecated flag stopping compilation --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 00400b0994c7..c74e9861c743 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -13760,7 +13760,7 @@ static void ImGui::DockNodeUpdateTabBar(ImGuiDockNode* node, ImGuiWindow* host_w if (is_focused) node->LastFrameFocused = g.FrameCount; ImU32 title_bar_col = GetColorU32(host_window->Collapsed ? ImGuiCol_TitleBgCollapsed : is_focused ? ImGuiCol_TitleBgActive : ImGuiCol_TitleBg); - host_window->DrawList->AddRectFilled(title_bar_rect.Min, title_bar_rect.Max, title_bar_col, host_window->WindowRounding, ImDrawFlags_NoRoundCornerB); + host_window->DrawList->AddRectFilled(title_bar_rect.Min, title_bar_rect.Max, title_bar_col, host_window->WindowRounding, ImDrawFlags_RoundCornersTop); // Docking/Collapse button if (has_window_menu_button)