1
0
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:
Bartosz Taudul 2020-05-03 13:23:26 +02:00
parent 73fda0b188
commit 3350a78cd8

View File

@ -679,9 +679,15 @@ bool View::DrawImpl()
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();
DrawZones();
ImGui::End();
ImGui::End();
m_zoneHighlight = nullptr;