mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-19 01:24:20 +00:00
Docking: Removed unnecessary ImGuiTabItemFlags_DockedWindow internal flag.
This commit is contained in:
parent
e1143377c2
commit
578e15f006
3 changed files with 4 additions and 5 deletions
|
|
@ -11474,7 +11474,7 @@ static void ImGui::DockNodeUpdateTabBar(ImGuiDockNode* node, ImGuiWindow* host_w
|
|||
continue;
|
||||
if (window->LastFrameActive + 1 >= g.FrameCount || !node_was_active)
|
||||
{
|
||||
ImGuiTabItemFlags tab_item_flags = ImGuiTabItemFlags_DockedWindow;
|
||||
ImGuiTabItemFlags tab_item_flags = 0;
|
||||
if (window->Flags & ImGuiWindowFlags_UnsavedDocument)
|
||||
tab_item_flags |= ImGuiTabItemFlags_UnsavedDocument;
|
||||
if (tab_bar->Flags & ImGuiTabBarFlags_NoCloseWithMiddleMouseButton)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue