mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Condense source diff.
This commit is contained in:
parent
b81d564f66
commit
314b1b48c8
@ -372,7 +372,9 @@ void View::DrawCompare()
|
|||||||
auto it = tfc.find( v );
|
auto it = tfc.find( v );
|
||||||
assert( it != tfc.end() );
|
assert( it != tfc.end() );
|
||||||
ImGui::PushFont( m_fixedFont );
|
ImGui::PushFont( m_fixedFont );
|
||||||
|
ImGui::PushStyleVar( ImGuiStyleVar_ItemSpacing, ImVec2( 0, 0 ) );
|
||||||
PrintFile( it->second.data, it->second.len, 0xFF6666FF );
|
PrintFile( it->second.data, it->second.len, 0xFF6666FF );
|
||||||
|
ImGui::PopStyleVar();
|
||||||
ImGui::PopFont();
|
ImGui::PopFont();
|
||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
@ -394,7 +396,9 @@ void View::DrawCompare()
|
|||||||
auto it = ofc.find( v );
|
auto it = ofc.find( v );
|
||||||
assert( it != ofc.end() );
|
assert( it != ofc.end() );
|
||||||
ImGui::PushFont( m_fixedFont );
|
ImGui::PushFont( m_fixedFont );
|
||||||
|
ImGui::PushStyleVar( ImGuiStyleVar_ItemSpacing, ImVec2( 0, 0 ) );
|
||||||
PrintFile( it->second.data, it->second.len, 0xFF66DD66 );
|
PrintFile( it->second.data, it->second.len, 0xFF66DD66 );
|
||||||
|
ImGui::PopStyleVar();
|
||||||
ImGui::PopFont();
|
ImGui::PopFont();
|
||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
@ -414,7 +418,9 @@ void View::DrawCompare()
|
|||||||
if( ImGui::TreeNode( v.first ) )
|
if( ImGui::TreeNode( v.first ) )
|
||||||
{
|
{
|
||||||
ImGui::PushFont( m_fixedFont );
|
ImGui::PushFont( m_fixedFont );
|
||||||
|
ImGui::PushStyleVar( ImGuiStyleVar_ItemSpacing, ImVec2( 0, 0 ) );
|
||||||
PrintDiff( v.second );
|
PrintDiff( v.second );
|
||||||
|
ImGui::PopStyleVar();
|
||||||
ImGui::PopFont();
|
ImGui::PopFont();
|
||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user