mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 09:27:00 +00:00
Removed deprecated flag stopping compilation (#3902)
This commit is contained in:
parent
0157502eab
commit
cfe83c4b44
@ -13760,7 +13760,7 @@ static void ImGui::DockNodeUpdateTabBar(ImGuiDockNode* node, ImGuiWindow* host_w
|
|||||||
if (is_focused)
|
if (is_focused)
|
||||||
node->LastFrameFocused = g.FrameCount;
|
node->LastFrameFocused = g.FrameCount;
|
||||||
ImU32 title_bar_col = GetColorU32(host_window->Collapsed ? ImGuiCol_TitleBgCollapsed : is_focused ? ImGuiCol_TitleBgActive : ImGuiCol_TitleBg);
|
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
|
// Docking/Collapse button
|
||||||
if (has_window_menu_button)
|
if (has_window_menu_button)
|
||||||
|
Loading…
Reference in New Issue
Block a user