From 88641573f86cdcba7bab9ef819b0cbed2c291e3a Mon Sep 17 00:00:00 2001 From: _nebula <41904486+misternebula@users.noreply.github.com> Date: Thu, 9 Mar 2023 16:38:30 +0000 Subject: [PATCH] fix title menu buttons being visible too early --- QSB/Menus/MenuManager.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/QSB/Menus/MenuManager.cs b/QSB/Menus/MenuManager.cs index 2ef9e33b..7d19164a 100644 --- a/QSB/Menus/MenuManager.cs +++ b/QSB/Menus/MenuManager.cs @@ -438,8 +438,12 @@ internal class MenuManager : MonoBehaviour, IAddComponentOnStart return; } + var titleAnimationController = QSBWorldSync.GetUnityObject()._gfxController; + + var activeAlpha = titleAnimationController.IsTitleAnimationComplete() ? 1 : 0; + button.SetActive(active); - button.GetComponent().alpha = active ? 1 : 0; + button.GetComponent().alpha = active ? activeAlpha : 0; } private void InitPauseMenus()