Keep frames graph at the top of the window (not in dock space).

This commit is contained in:
Bartosz Taudul 2019-03-27 21:39:53 +01:00
parent bb043f96ee
commit d4e490f47e

View File

@ -683,6 +683,8 @@ bool View::DrawImpl()
m_frameHover = -1;
DrawFrames();
const auto dockspaceId = ImGui::GetID( "tracyDockspace" );
ImGui::DockSpace( dockspaceId, ImVec2( 0, 0 ), ImGuiDockNodeFlags_NoDockingInCentralNode );
if( ImGuiDockNode* node = ImGui::DockBuilderGetCentralNode( dockspaceId ) )
@ -706,7 +708,6 @@ bool View::DrawImpl()
#endif
}
DrawFrames();
DrawZones();
ImGui::End();