diff --git a/plugins/builtin/source/content/welcome_screen.cpp b/plugins/builtin/source/content/welcome_screen.cpp index 4600da33b..f33b5c0d3 100644 --- a/plugins/builtin/source/content/welcome_screen.cpp +++ b/plugins/builtin/source/content/welcome_screen.cpp @@ -42,6 +42,7 @@ #include #include #include +#include namespace hex::plugin::builtin { @@ -313,7 +314,13 @@ namespace hex::plugin::builtin { ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 5_scaled); ImGui::Image(*s_nightlyTexture, s_nightlyTexture->getSize()); - ImGuiExt::InfoTooltip(fmt::format("{0}\n\nCommit: {1}@{2}", "hex.builtin.welcome.nightly_build"_lang, ImHexApi::System::getCommitBranch(), ImHexApi::System::getCommitHash(true)).c_str()); + ImGuiExt::InfoTooltip(fmt::format("{0}\n\n", "hex.builtin.welcome.nightly_build"_lang).c_str()); + + ImGui::PushStyleColor(ImGuiCol_Text, ImGui::GetStyleColorVec4(ImGuiCol_TextDisabled)); + fonts::Default().push(0.75F); + ImGuiExt::InfoTooltip(fmt::format("{0}@{1}", ImHexApi::System::getCommitBranch(), ImHexApi::System::getCommitHash(true)).c_str()); + fonts::Default().pop(); + ImGui::PopStyleColor(); ImGui::SetCursorPos(cursor); }