1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Don't call SameLine() twice in a row.

This commit is contained in:
Bartosz Taudul 2022-01-23 14:52:25 +01:00
parent 3ee91b909f
commit fcced3c76a
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -12723,9 +12723,9 @@ void View::DrawStatistics()
ImGui::PushStyleVar( ImGuiStyleVar_FramePadding, ImVec2( 2, 2 ) ); ImGui::PushStyleVar( ImGuiStyleVar_FramePadding, ImVec2( 2, 2 ) );
ImGui::RadioButton( ICON_FA_SYRINGE " Instrumentation", &m_statMode, 0 ); ImGui::RadioButton( ICON_FA_SYRINGE " Instrumentation", &m_statMode, 0 );
ImGui::SameLine();
if( m_worker.AreCallstackSamplesReady() ) if( m_worker.AreCallstackSamplesReady() )
{ {
ImGui::SameLine();
if( m_worker.GetCallstackSampleCount() > 0 ) if( m_worker.GetCallstackSampleCount() > 0 )
{ {
ImGui::Spacing(); ImGui::Spacing();