From 3edb61badd796bcc9f9f6f86d0e4cf4fd4e19923 Mon Sep 17 00:00:00 2001 From: Dmugetsu Date: Fri, 28 Feb 2025 17:23:14 -0600 Subject: [PATCH] Clang --- src/core/libraries/np_trophy/trophy_ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/libraries/np_trophy/trophy_ui.cpp b/src/core/libraries/np_trophy/trophy_ui.cpp index d96e6da4b..aba56f341 100644 --- a/src/core/libraries/np_trophy/trophy_ui.cpp +++ b/src/core/libraries/np_trophy/trophy_ui.cpp @@ -217,7 +217,7 @@ void TrophyUI::Draw() { float text_width = ImGui::CalcTextSize(trophy_name.c_str()).x; float centered_x = (window_size.x - text_width) * 0.5f; ImGui::SetCursorPosX(std::max(centered_x, 10.0f * AdjustWidth)); - } + } ImGui::PushTextWrapPos(window_size.x - (60 * AdjustWidth)); TextWrapped("Trophy earned!\n%s", trophy_name.c_str());