From d7095acc052ac2c28ec2058fc1925d91dad8e390 Mon Sep 17 00:00:00 2001 From: Arufonsu <17498701+Arufonsu@users.noreply.github.com> Date: Sat, 17 Jan 2026 14:26:49 -0300 Subject: [PATCH] fix: character creation and selection flow - Bug fix: Back button should always be visible on character creation window - Bug fix: Play button was shown despite of having no characters created, this commit fixes that by properly updating character selection window buttons and display during initializing Signed-off-by: Arufonsu <17498701+Arufonsu@users.noreply.github.com> --- Intersect.Client.Core/Interface/Menu/CharacterCreationWindow.cs | 2 +- Intersect.Client.Core/Interface/Menu/SelectCharacterWindow.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Intersect.Client.Core/Interface/Menu/CharacterCreationWindow.cs b/Intersect.Client.Core/Interface/Menu/CharacterCreationWindow.cs index 715e891edf..9d7d6707e5 100644 --- a/Intersect.Client.Core/Interface/Menu/CharacterCreationWindow.cs +++ b/Intersect.Client.Core/Interface/Menu/CharacterCreationWindow.cs @@ -251,7 +251,7 @@ public void Update() public void Show(bool force) { - _backButton.IsVisibleInTree = !force; + _backButton.IsVisibleInTree = true; _createButton.Alignment = force ? [Alignments.Center] : [Alignments.Left]; _renderLayers = new ImagePanel[Options.Instance.Equipment.Paperdoll.Down.Count]; diff --git a/Intersect.Client.Core/Interface/Menu/SelectCharacterWindow.cs b/Intersect.Client.Core/Interface/Menu/SelectCharacterWindow.cs index def56af557..ca2b32a332 100644 --- a/Intersect.Client.Core/Interface/Menu/SelectCharacterWindow.cs +++ b/Intersect.Client.Core/Interface/Menu/SelectCharacterWindow.cs @@ -198,6 +198,7 @@ protected override void EnsureInitialized() LoadJsonUi(GameContentManager.UI.Menu, Graphics.Renderer?.GetResolutionString()); EnsureArrowsVisibility(); + UpdateDisplay(); } //Methods