1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Expose zone name normalization as a separate setting.

This commit is contained in:
Bartosz Taudul
2022-08-15 16:24:44 +02:00
parent 89016454f8
commit 07a1383304
4 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -923,7 +923,7 @@ const char* View::ShortenZoneName( const char* name, ImVec2& tsz, float zsz ) co
}
tsz = ImGui::CalcTextSize( ptr, end );
if( tsz.x < zsz ) return ptr;
if( m_shortenName == ShortenName::OnlyNormalize || tsz.x < zsz ) return ptr;
for(;;)
{