Browse Source

修复BUG

hexiaojie 2 years ago
parent
commit
b067dcaf67
1 changed files with 3 additions and 0 deletions
  1. 3 0
      GameClient/Assets/Game/HotUpdate/Views/Bag/GiftBoxSelectorView.cs

+ 3 - 0
GameClient/Assets/Game/HotUpdate/Views/Bag/GiftBoxSelectorView.cs

@@ -1,6 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
+using System.Threading;
 using ET;
 using FairyGUI;
 using UI.Bag;
@@ -246,6 +247,8 @@ namespace GFGGame
             {
                 // 将文本设置为空字符串
                 listItem.m_txtSelNum.text = "";
+                // 延迟 0.1 秒后恢复文本
+                Timers.inst.Add(0.1f, 1, (obj) => { listItem.m_txtSelNum.text = ""; });
             }
         }