1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Put found zones list into a subchild.

This commit is contained in:
Bartosz Taudul 2018-03-20 12:56:26 +01:00
parent ce3f0bd596
commit 64e05e4726

View File

@ -3213,6 +3213,7 @@ void View::DrawFindZone()
} }
m_findZone.processed = processed; m_findZone.processed = processed;
ImGui::BeginChild( "##zonesScroll", ImVec2( ImGui::GetWindowContentRegionWidth(), std::max( 200.f, ImGui::GetContentRegionAvail().y ) ) );
int idx = 0; int idx = 0;
for( auto& v : m_findZone.threads ) for( auto& v : m_findZone.threads )
{ {
@ -3281,6 +3282,7 @@ void View::DrawFindZone()
ImGui::TreePop(); ImGui::TreePop();
} }
} }
ImGui::EndChild();
} }
#endif #endif