mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-16 12:03:27 +01:00
Docking: Forward WindowClass from node to host window.
This commit is contained in:
parent
ce1626a51e
commit
5aebfedfad
@ -10952,6 +10952,7 @@ static void ImGui::DockNodeUpdate(ImGuiDockNode* node)
|
|||||||
}
|
}
|
||||||
if (node->InitFromFirstWindowViewport && node->Windows.Size > 0)
|
if (node->InitFromFirstWindowViewport && node->Windows.Size > 0)
|
||||||
SetNextWindowViewport(node->Windows[0]->ViewportId);
|
SetNextWindowViewport(node->Windows[0]->ViewportId);
|
||||||
|
SetNextWindowClass(&node->WindowClass);
|
||||||
|
|
||||||
// Begin into the host window
|
// Begin into the host window
|
||||||
char window_label[20];
|
char window_label[20];
|
||||||
|
Loading…
Reference in New Issue
Block a user