From 5079cb7de069679add33b70f99e026cff7316cbd Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期四, 20 十一月 2025 22:27:12 +0800
Subject: [PATCH] 262 幻境阁系统-客户端 修复物品图标和称号显示bug

---
 Main/Component/UI/Common/FontSwitch.cs |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/Main/Component/UI/Common/FontSwitch.cs b/Main/Component/UI/Common/FontSwitch.cs
index 997a11d..d82cc72 100644
--- a/Main/Component/UI/Common/FontSwitch.cs
+++ b/Main/Component/UI/Common/FontSwitch.cs
@@ -15,16 +15,15 @@
     [ExecuteAlways]
     private void Awake()
     {
-        // TODO YYL
-        // switch (m_FontType)
-        // {
-        //     case FontType.Preferred:
-        //         text.font = FontUtility.preferred;
-        //         break;
-        //     case FontType.Secondary:
-        //         text.font = FontUtility.secondary;
-        //         break;
-        // }
+        switch (m_FontType)
+        {
+            case FontType.Preferred:
+                text.font = FontUtility.preferred;
+                break;
+            case FontType.Secondary:
+                text.font = FontUtility.secondary;
+                break;
+        }
     }
 
     public enum FontType

--
Gitblit v1.8.0