From bb467acc0530af8fde391ebd89e9146a0af5cb89 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期四, 06 十二月 2018 20:02:18 +0800
Subject: [PATCH] 5280 【前端】【1.3.100】法宝列表界面按钮二次点击优化

---
 UI/Common/FunctionButton.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/UI/Common/FunctionButton.cs b/UI/Common/FunctionButton.cs
index 98227c5..00b7a10 100644
--- a/UI/Common/FunctionButton.cs
+++ b/UI/Common/FunctionButton.cs
@@ -105,6 +105,7 @@
         }
 
         public event Action<string> OnPointClickLockFunc;
+        public event Action repeatClickFunc;
 
         protected override void Awake()
         {
@@ -171,6 +172,10 @@
 
             if (!invokeForce && state == TitleBtnState.Click)
             {
+                if (repeatClickFunc != null)
+                {
+                    repeatClickFunc();
+                }
                 return;
             }
 

--
Gitblit v1.8.0