Skip to content

Commit

Permalink
Minor fixes: preferences login notice size and button on toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
NSGolova committed Apr 16, 2024
1 parent 8497602 commit fb27b3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/LeaderboardUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ namespace LeaderboardUI {
void updateSelectedLeaderboard() {
if (loginPrompt && PlayerController::currentPlayer == std::nullopt) {
loginPrompt->get_gameObject()->SetActive(showBeatLeader);
// preferencesButton->get_gameObject()->SetActive(showBeatLeader);
preferencesButton->get_gameObject()->SetActive(showBeatLeader);
}

LevelInfoUI::SetLevelInfoActive(showBeatLeader);
Expand Down
1 change: 1 addition & 0 deletions src/UI/PreferencesViewController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ void BeatLeader::PreferencesViewController::DidActivate(HMUI::ViewController* se
}
errorDescriptionLabel = ::BSML::Lite::CreateText(containerTransform, "");
label3 = ::BSML::Lite::CreateText(containerTransform, "Never used BeatLeader? Sign up with any new login/password.\nTo log in, enter your existing account's login information.\nYour account is temporary until at least one score has been posted!\nYou can change your profile details on the website.");
label3->set_fontSize(3.0f);
}

UpdateUI(PlayerController::currentPlayer);
Expand Down

0 comments on commit fb27b3c

Please sign in to comment.