From 0b21d80535dcef06c6c49342316dc6cb0c59d45d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期日, 14 十二月 2025 03:40:30 +0800
Subject: [PATCH] 0312 修复满星红点,突破和培养切换排版显示

---
 Main/System/HeroUI/HeroTrainWin.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Main/System/HeroUI/HeroTrainWin.cs b/Main/System/HeroUI/HeroTrainWin.cs
index 93caf6f..35e69aa 100644
--- a/Main/System/HeroUI/HeroTrainWin.cs
+++ b/Main/System/HeroUI/HeroTrainWin.cs
@@ -208,6 +208,7 @@
         {
             functionOrder = 0;
             DisplayTrainOrBreak(hero);
+            ForceRefreshLayout();
         });
 
         breakMainButton.AddListener(() =>
@@ -846,7 +847,7 @@
         var itemPack = PackManager.Instance.GetSinglePack(PackType.Item);
 
 
-        if (heroCnt > 1)
+        if (heroCnt > 1 && hero.heroStar < hero.GetCurMaxStar())
         {
             redpointGift.SetActive(true);
             trainMainRedImg.SetActive(true);

--
Gitblit v1.8.0