installer_wizard: fix credits scrolling progress and speed

This commit is contained in:
Hyper 2025-01-23 22:54:23 +00:00
parent f9440e2076
commit cf5c3423d1

View file

@ -719,7 +719,7 @@ static void DrawDescriptionContainer()
ImVec2 textMax = { g_aspectRatioOffsetX + Scale(CONTAINER_X) + Scale(CONTAINER_WIDTH), g_aspectRatioOffsetY + Scale(CONTAINER_Y) + Scale(CONTAINER_HEIGHT) };
SetMarqueeFade(textMin, textMax, Scale(32));
DrawTextWithMarquee(g_seuratFont, fontSize, textPos, textMin, textMax, colWhite, CREDITS_TEXT, g_appearTime, 0.9, Scale(250));
DrawTextWithMarquee(g_seuratFont, fontSize, textPos, textMin, textMax, colWhite, CREDITS_TEXT, g_installerEndTime, 0.9, Scale(200));
ResetMarqueeFade();
}