mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
Keep frames graph at the top of the window (not in dock space).
This commit is contained in:
parent
bb043f96ee
commit
d4e490f47e
@ -683,6 +683,8 @@ bool View::DrawImpl()
|
|||||||
|
|
||||||
m_frameHover = -1;
|
m_frameHover = -1;
|
||||||
|
|
||||||
|
DrawFrames();
|
||||||
|
|
||||||
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 );
|
||||||
if( ImGuiDockNode* node = ImGui::DockBuilderGetCentralNode( dockspaceId ) )
|
if( ImGuiDockNode* node = ImGui::DockBuilderGetCentralNode( dockspaceId ) )
|
||||||
@ -706,7 +708,6 @@ bool View::DrawImpl()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
DrawFrames();
|
|
||||||
DrawZones();
|
DrawZones();
|
||||||
|
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
|
Loading…
Reference in New Issue
Block a user