mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54: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;
|
||||
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user