mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-19 01:24:20 +00:00
Docking: Fixed using ImGuiDockNodeFlags_AutoHideTabBar with ConfigDockingTabBarOnSingleWindows. (#2109)
This commit is contained in:
parent
dd80db87a6
commit
8bc6d976cb
1 changed files with 5 additions and 0 deletions
|
|
@ -11855,6 +11855,11 @@ void ImGui::DockContextProcessDock(ImGuiContext* ctx, ImGuiDockRequest* req)
|
|||
DockSettingsRenameNodeReferences(payload_dock_id, node->ID);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// When docking a floating single window node we want to reevaluate auto-hiding of the tab bar
|
||||
node->WantHiddenTabBarUpdate = true;
|
||||
}
|
||||
|
||||
// Update selection immediately
|
||||
if (ImGuiTabBar* tab_bar = node->TabBar)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue