mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Adjust zone name shortening option names.
"Always full" was kinda ambiguous. It could either mean that the name will be always full (shortening effectively disabled), or that the shortening will be performed to the maximum extent (as it was).
This commit is contained in:
parent
c4324873b2
commit
257a836dc7
@ -225,11 +225,11 @@ void View::DrawOptions()
|
|||||||
ImGui::TextUnformatted( ICON_FA_RULER_HORIZONTAL " Zone name shortening" );
|
ImGui::TextUnformatted( ICON_FA_RULER_HORIZONTAL " Zone name shortening" );
|
||||||
ImGui::Indent();
|
ImGui::Indent();
|
||||||
ImGui::PushStyleVar( ImGuiStyleVar_FramePadding, ImVec2( 0, 0 ) );
|
ImGui::PushStyleVar( ImGuiStyleVar_FramePadding, ImVec2( 0, 0 ) );
|
||||||
ImGui::RadioButton( "Never", &ival, 0 );
|
ImGui::RadioButton( "Disabled", &ival, 0 );
|
||||||
ImGui::RadioButton( "Always full", &ival, 1 );
|
ImGui::RadioButton( "Minimal length", &ival, 1 );
|
||||||
ImGui::RadioButton( "Only normalize", &ival, 2 );
|
ImGui::RadioButton( "Only normalize", &ival, 2 );
|
||||||
ImGui::RadioButton( "No space", &ival, 3 );
|
ImGui::RadioButton( "As needed", &ival, 3 );
|
||||||
ImGui::RadioButton( "No space + normalize", &ival, 4 );
|
ImGui::RadioButton( "As needed + normalize", &ival, 4 );
|
||||||
ImGui::PopStyleVar();
|
ImGui::PopStyleVar();
|
||||||
ImGui::Unindent();
|
ImGui::Unindent();
|
||||||
m_shortenName = (ShortenName)ival;
|
m_shortenName = (ShortenName)ival;
|
||||||
|
Loading…
Reference in New Issue
Block a user