mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Disable docking in central node.
This commit is contained in:
parent
3350a78cd8
commit
32aa23822b
@ -680,7 +680,7 @@ bool View::DrawImpl()
|
|||||||
m_frameHover = -1;
|
m_frameHover = -1;
|
||||||
|
|
||||||
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 );
|
||||||
ImGui::SetNextWindowDockID( dockspaceId );
|
ImGui::SetNextWindowDockID( dockspaceId );
|
||||||
ImGui::Begin( "Work area" );
|
ImGui::Begin( "Work area" );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user