From ef556d07edfaf137e815c099e6ae91cef36f834b Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 9 Aug 2023 20:02:38 +0200 Subject: [PATCH] fix: Init task text being offset on larger screen resolutions --- main/source/init/splash_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/source/init/splash_window.cpp b/main/source/init/splash_window.cpp index 157fdb33e..a060c1203 100644 --- a/main/source/init/splash_window.cpp +++ b/main/source/init/splash_window.cpp @@ -249,7 +249,7 @@ namespace hex::init { if (!this->m_currTaskNames.empty()) { drawList->PushClipRect(progressBackgroundStart, progressBackgroundStart + progressBackgroundSize, true); - drawList->AddText(progressStart + ImVec2(5, -20), ImColor(0xFF, 0xFF, 0xFF, 0xFF), hex::format("{}", fmt::join(this->m_currTaskNames, " | ")).c_str()); + drawList->AddText(progressStart + ImVec2(5, -20) * scale, ImColor(0xFF, 0xFF, 0xFF, 0xFF), hex::format("{}", fmt::join(this->m_currTaskNames, " | ")).c_str()); drawList->PopClipRect(); } }