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:
@@ -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(;;)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user