From 47bae3318d299fed896620e70829a21087e7b0c1 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期五, 27 二月 2026 19:22:10 +0800
Subject: [PATCH] 492 武将登场-客户端 主键界面右侧按钮优化逻辑,100毫秒判断一次需不要刷新,避免刷新按钮个数次造成卡顿

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

diff --git a/Main/System/Main/HomeGridLayoutCell.cs b/Main/System/Main/HomeGridLayoutCell.cs
index a6fc2d1..54ba05b 100644
--- a/Main/System/Main/HomeGridLayoutCell.cs
+++ b/Main/System/Main/HomeGridLayoutCell.cs
@@ -24,7 +24,7 @@
     }
 
     /// <summary>
-    /// 閫氱煡鐖剁骇鐨勭綉鏍艰剼鏈噸鏂版帓鐗�
+    /// 閫氱煡鐖剁骇鐨勭綉鏍艰剼鏈仛鈥滆剰鏍囪鈥濓紝绛夊緟涓嬩竴娆¤疆璇㈡椂閲嶆柊鎺掔増
     /// </summary>
     private void NotifyParentToUpdate()
     {
@@ -35,7 +35,8 @@
         HomeGridLayout layout = transform.parent.GetComponent<HomeGridLayout>();
         if (layout != null)
         {
-            layout.UpdateLayout();
+            // 鏀逛负浠呬粎璁剧疆鏍囧織浣嶏紝涓嶅啀绔嬪嵆瑙﹀彂
+            layout.MarkAsDirty(); 
         }
     }
 }
\ No newline at end of file

--
Gitblit v1.8.0