Disable docking in central node.

This commit is contained in:
Bartosz Taudul 2019-03-16 21:11:18 +01:00
parent 3350a78cd8
commit 32aa23822b

View File

@ -680,7 +680,7 @@ bool View::DrawImpl()
m_frameHover = -1; m_frameHover = -1;
const auto dockspaceId = ImGui::GetID( "tracyDockspace" ); 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::SetNextWindowDockID( dockspaceId );
ImGui::Begin( "Work area" ); ImGui::Begin( "Work area" );