From fb27b3cfed554d8a725d6801fb52da6ee3e30262 Mon Sep 17 00:00:00 2001 From: NSGolova Date: Wed, 17 Apr 2024 00:42:07 +0100 Subject: [PATCH] Minor fixes: preferences login notice size and button on toggle --- src/UI/LeaderboardUI.cpp | 2 +- src/UI/PreferencesViewController.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/UI/LeaderboardUI.cpp b/src/UI/LeaderboardUI.cpp index 3f228aa..70d01a6 100644 --- a/src/UI/LeaderboardUI.cpp +++ b/src/UI/LeaderboardUI.cpp @@ -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); diff --git a/src/UI/PreferencesViewController.cpp b/src/UI/PreferencesViewController.cpp index 5432d3c..e7e1817 100644 --- a/src/UI/PreferencesViewController.cpp +++ b/src/UI/PreferencesViewController.cpp @@ -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);