mirror of
https://github.com/wolfpld/tracy.git
synced 2026-08-26 13:08:24 +00:00
Keep frames graph at the top of the window (not in dock space).
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user