mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-06 04:58:47 +02:00
Docking: Fixed using ImGuiDockNodeFlags_AutoHideTabBar with ConfigDockingTabBarOnSingleWindows. (#2109)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user