mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Use TextUnformatted in TextCentered.
This commit is contained in:
parent
42fefde161
commit
c433e76c7a
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user