mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Put work area in center docking node.
This commit is contained in:
parent
73fda0b188
commit
3350a78cd8
@ -679,9 +679,15 @@ bool View::DrawImpl()
|
|||||||
|
|
||||||
m_frameHover = -1;
|
m_frameHover = -1;
|
||||||
|
|
||||||
|
const auto dockspaceId = ImGui::GetID( "tracyDockspace" );
|
||||||
|
ImGui::DockSpace( dockspaceId, ImVec2( 0, 0 ) /*, ImGuiDockNodeFlags_NoDockingInCentralNode*/ );
|
||||||
|
ImGui::SetNextWindowDockID( dockspaceId );
|
||||||
|
ImGui::Begin( "Work area" );
|
||||||
|
|
||||||
DrawFrames();
|
DrawFrames();
|
||||||
DrawZones();
|
DrawZones();
|
||||||
|
|
||||||
|
ImGui::End();
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
|
|
||||||
m_zoneHighlight = nullptr;
|
m_zoneHighlight = nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user