mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-12 19:31:47 +00:00
Don't show inline options for instrumentation statistics.
This commit is contained in:
parent
dec5b851af
commit
f5f82a2bd5
@ -542,24 +542,27 @@ void View::DrawStatistics()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::SameLine();
|
if( m_statMode == 1 )
|
||||||
ImGui::Spacing();
|
{
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::SeparatorEx( ImGuiSeparatorFlags_Vertical );
|
ImGui::Spacing();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Spacing();
|
ImGui::SeparatorEx( ImGuiSeparatorFlags_Vertical );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if( m_statSeparateInlines ) ImGui::BeginDisabled();
|
ImGui::Spacing();
|
||||||
ImGui::TextUnformatted( "Inlines" );
|
ImGui::SameLine();
|
||||||
ImGui::SameLine();
|
if( m_statSeparateInlines ) ImGui::BeginDisabled();
|
||||||
ImGui::Spacing();
|
ImGui::TextUnformatted( "Inlines" );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Checkbox( ICON_FA_LAYER_GROUP " Aggregate", &m_mergeInlines );
|
ImGui::Spacing();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Spacing();
|
ImGui::Checkbox( ICON_FA_LAYER_GROUP " Aggregate", &m_mergeInlines );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Checkbox( ICON_FA_LINK " Base relative", &m_relativeInlines );
|
ImGui::Spacing();
|
||||||
if( m_statSeparateInlines ) ImGui::EndDisabled();
|
ImGui::SameLine();
|
||||||
|
ImGui::Checkbox( ICON_FA_LINK " Base relative", &m_relativeInlines );
|
||||||
|
if( m_statSeparateInlines ) ImGui::EndDisabled();
|
||||||
|
}
|
||||||
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
ImGui::PopStyleVar();
|
ImGui::PopStyleVar();
|
||||||
|
Loading…
Reference in New Issue
Block a user