1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-16 03:53:28 +01:00

Docking: Forward WindowClass from node to host window.

This commit is contained in:
omar 2019-01-02 21:41:00 +01:00
parent ce1626a51e
commit 5aebfedfad

View File

@ -10952,6 +10952,7 @@ static void ImGui::DockNodeUpdate(ImGuiDockNode* node)
}
if (node->InitFromFirstWindowViewport && node->Windows.Size > 0)
SetNextWindowViewport(node->Windows[0]->ViewportId);
SetNextWindowClass(&node->WindowClass);
// Begin into the host window
char window_label[20];