Fixed most horrifying scaling issues with the book

This commit is contained in:
journaliciouz
2025-11-08 22:16:43 +01:00
parent 2ec53629c6
commit eda7361702
6 changed files with 293 additions and 25 deletions

View File

@@ -1,11 +1,13 @@
using System.Collections.Generic;
using System.Linq;
using AppleHills.Data.CardSystem;
using Core;
using Data.CardSystem;
using Pixelplacement;
using UI.Core;
using UI.DragAndDrop.Core;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
namespace UI.CardSystem
@@ -163,6 +165,15 @@ namespace UI.CardSystem
UIPageController.Instance.PopPage();
}
}
// If album exits while in Overworld, show AppSwitcher. If not, keep it hidden.
if (PlayerHudManager.Instance.currentUIMode == PlayerHudManager.UIMode.Overworld)
{
PlayerHudManager.Instance.appSwitcher.SetActive(true);
}
else
{
PlayerHudManager.Instance.appSwitcher.SetActive(false);
}
}
private void OnBoosterCountChanged(int newCount)