From d4e490f47ec4c98f2658588e1feed9dd48231b79 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 27 Mar 2019 21:39:53 +0100 Subject: [PATCH] Keep frames graph at the top of the window (not in dock space). --- server/TracyView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 5fa441c2..95626e1a 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -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();