Disable docking in central node.

This commit is contained in:
Bartosz Taudul
2020-05-03 13:23:48 +02:00
parent 3350a78cd8
commit 32aa23822b
+1 -1
View File
@@ -680,7 +680,7 @@ bool View::DrawImpl()
m_frameHover = -1;
const auto dockspaceId = ImGui::GetID( "tracyDockspace" );
ImGui::DockSpace( dockspaceId, ImVec2( 0, 0 ) /*, ImGuiDockNodeFlags_NoDockingInCentralNode*/ );
ImGui::DockSpace( dockspaceId, ImVec2( 0, 0 ), ImGuiDockNodeFlags_NoDockingInCentralNode );
ImGui::SetNextWindowDockID( dockspaceId );
ImGui::Begin( "Work area" );