Skip to content

Commit

Permalink
Changed progress text position
Browse files Browse the repository at this point in the history
  • Loading branch information
Regynate committed Oct 26, 2023
1 parent f80f900 commit b313743
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ChaosMod/Components/CrossingChallenge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,15 +441,15 @@ void CrossingChallenge::ShowProgress()

int time = (m_dwCurTick - m_dwStartTick) / 1000;

oss << "Time: " << time / 60 << ":" << std::setw(2) << std::setfill('0') << time % 60;
oss << time / 60 << ":" << std::setw(2) << std::setfill('0') << time % 60;

DrawScreenText(oss.str(), { .02f, .03f }, .6f, { 140, 201, 89 }, true, EScreenTextAdjust::Left);
DrawScreenText(oss.str(), { .15f, .12f }, .7f, { 140, 201, 89 }, true, EScreenTextAdjust::Left);

oss.str("");

oss << "Effects: " << m_iEffectsCount;

DrawScreenText(oss.str(), { .02f, .08f }, .6f, { 255, 255, 255 }, true, EScreenTextAdjust::Left);
DrawScreenText(oss.str(), { .015f, .12f }, .7f, { 255, 255, 255 }, true, EScreenTextAdjust::Left);
}

void CrossingChallenge::OnRun()
Expand Down

0 comments on commit b313743

Please sign in to comment.