mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Reduce size of statistics menu controls.
This commit is contained in:
parent
2a61c0a45f
commit
21589a238b
@ -11585,6 +11585,8 @@ void View::DrawStatistics()
|
||||
return;
|
||||
}
|
||||
|
||||
ImGui::PushStyleVar( ImGuiStyleVar_FramePadding, ImVec2( 2, 2 ) );
|
||||
|
||||
if( m_worker.AreCallstackSamplesReady() )
|
||||
{
|
||||
const auto hasSamples = m_worker.GetCallstackSampleCount() > 0;
|
||||
@ -11619,6 +11621,7 @@ void View::DrawStatistics()
|
||||
{
|
||||
ImGui::Spacing();
|
||||
ImGui::Separator();
|
||||
ImGui::PopStyleVar();
|
||||
ImGui::TextWrapped( "Please wait, computing data..." );
|
||||
DrawWaitingDots( s_time );
|
||||
ImGui::End();
|
||||
@ -11702,6 +11705,7 @@ void View::DrawStatistics()
|
||||
}
|
||||
|
||||
ImGui::Separator();
|
||||
ImGui::PopStyleVar();
|
||||
|
||||
if( srcloc.empty() )
|
||||
{
|
||||
@ -11823,6 +11827,7 @@ void View::DrawStatistics()
|
||||
}
|
||||
|
||||
ImGui::Separator();
|
||||
ImGui::PopStyleVar();
|
||||
|
||||
const auto& symMap = m_worker.GetSymbolMap();
|
||||
const auto& symStat = m_worker.GetSymbolStats();
|
||||
|
Loading…
Reference in New Issue
Block a user