From ede92bb7bc68c56abdb04f932e7d2c038a69d372 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 21 十一月 2025 19:29:23 +0800
Subject: [PATCH] 0312 物品框支持装备显示

---
 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