mirror of
https://github.com/ocornut/imgui.git
synced 2026-08-04 14:49:01 +00:00
Docking, Style: resizing separators use same colors as window borders. (#2522)
This commit is contained in:
@@ -16519,7 +16519,11 @@ static void ImGui::DockNodeUpdate(ImGuiDockNode* node)
|
||||
if (node->IsRootNode() && host_window)
|
||||
{
|
||||
DockNodeTreeUpdatePosSize(node, host_window->Pos, host_window->Size);
|
||||
PushStyleColor(ImGuiCol_Separator, g.Style.Colors[ImGuiCol_Border]);
|
||||
PushStyleColor(ImGuiCol_SeparatorActive, g.Style.Colors[ImGuiCol_ResizeGripActive]);
|
||||
PushStyleColor(ImGuiCol_SeparatorHovered, g.Style.Colors[ImGuiCol_ResizeGripHovered]);
|
||||
DockNodeTreeUpdateSplitter(node);
|
||||
PopStyleColor(3);
|
||||
}
|
||||
|
||||
// Draw empty node background (currently can only be the Central Node)
|
||||
|
||||
Reference in New Issue
Block a user