Skip to content

Commit

Permalink
miscalc
Browse files Browse the repository at this point in the history
  • Loading branch information
RayDeeUx committed Mar 14, 2024
1 parent da542e0 commit 5a6576e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class $modify(MyEndLevelLayer, EndLevelLayer) {
auto timeLabel = getChildByIDRecursive("time-label");
auto pointsLabel = getChildByIDRecursive("points-label");
if (!m_fields->isCompactEndscreen) timeLabel->setPositionY(timeLabel->getPositionY() - 20);
if (!m_fields->isCompactEndscreen && pointsLabel) pointsLabel->setPositionY(pointsLabel->getPositionY() - 14);
if (pointsLabel) pointsLabel->setPositionY(timeLabel->getPositionY() - 18);
auto attemptsLabel = cocos2d::CCLabelBMFont::create(("Attempts: " + std::to_string(attempts)).c_str(), "goldFont.fnt");
attemptsLabel->setScale(0.8f);
attemptsLabel->setPositionX(timeLabel->getPositionX());
Expand Down

0 comments on commit 5a6576e

Please sign in to comment.