mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 05:03:53 +00:00
Make diff added/deleted files list collapsed by default.
This commit is contained in:
parent
314b1b48c8
commit
166c553af3
@ -360,7 +360,7 @@ void View::DrawCompare()
|
|||||||
{
|
{
|
||||||
if( !m_compare.thisUnique.empty() )
|
if( !m_compare.thisUnique.empty() )
|
||||||
{
|
{
|
||||||
const auto expand = ImGui::TreeNodeEx( ICON_FA_FILE_CIRCLE_XMARK " Deleted files", ImGuiTreeNodeFlags_DefaultOpen );
|
const auto expand = ImGui::TreeNode( ICON_FA_FILE_CIRCLE_XMARK " Deleted files" );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::TextDisabled( "(%s)", RealToString( m_compare.thisUnique.size() ) );
|
ImGui::TextDisabled( "(%s)", RealToString( m_compare.thisUnique.size() ) );
|
||||||
if( expand )
|
if( expand )
|
||||||
@ -384,7 +384,7 @@ void View::DrawCompare()
|
|||||||
}
|
}
|
||||||
if( !m_compare.secondUnique.empty() )
|
if( !m_compare.secondUnique.empty() )
|
||||||
{
|
{
|
||||||
const auto expand = ImGui::TreeNodeEx( ICON_FA_FILE_CIRCLE_PLUS " Added files", ImGuiTreeNodeFlags_DefaultOpen );
|
const auto expand = ImGui::TreeNode( ICON_FA_FILE_CIRCLE_PLUS " Added files" );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::TextDisabled( "(%s)", RealToString( m_compare.secondUnique.size() ) );
|
ImGui::TextDisabled( "(%s)", RealToString( m_compare.secondUnique.size() ) );
|
||||||
if( expand )
|
if( expand )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user