Use TextUnformatted in TextCentered.

This commit is contained in:
Bartosz Taudul 2019-06-03 01:28:45 +02:00
parent 42fefde161
commit c433e76c7a

View File

@ -16,7 +16,7 @@ namespace tracy
{
const auto tw = ImGui::CalcTextSize( text ).x;
ImGui::SetCursorPosX( ( ImGui::GetWindowWidth() - tw ) * 0.5f );
ImGui::Text( "%s", text );
ImGui::TextUnformatted( text );
}
static inline void DrawWaitingDots( double time )