1
0
mirror of synced 2025-02-17 18:59:21 +01:00

fix: Init task text being offset on larger screen resolutions

This commit is contained in:
WerWolv 2023-08-09 20:02:38 +02:00
parent 882849e73c
commit ef556d07ed

View File

@ -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();
}
}