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:
parent
3ee91b909f
commit
fcced3c76a
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user