From d87dba7f903148c3f05d73bb81b0b9ff3f82822c Mon Sep 17 00:00:00 2001 From: Christopher Tse Date: Tue, 7 Jul 2020 18:56:28 +1000 Subject: [PATCH] Made close button fully invisible on mouseover --- ChatBubblePool.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChatBubblePool.lua b/ChatBubblePool.lua index dbcad0b..836a5f5 100644 --- a/ChatBubblePool.lua +++ b/ChatBubblePool.lua @@ -303,8 +303,8 @@ function ChatBubblePool.getChatBubble() closeButton:SetPoint("CENTER",chatBubbleBackground,"TOPRIGHT",-4,-4); closeButton:SetScript("OnClick",function(self) closeBubble(newChatBubble) end); closeButton:SetScript("OnEnter",function(self) closeButton:SetAlpha(1) end); - closeButton:SetScript("OnLeave",function(self) closeButton:SetAlpha(0.1) end); - closeButton:SetAlpha(0.1); + closeButton:SetScript("OnLeave",function(self) closeButton:SetAlpha(0) end); + closeButton:SetAlpha(0); local nameBoxFrame = CreateFrame("Frame",frameName.."-NameBoxFrame",newChatBubble) nameBoxFrame:SetSize(250,18); -- 1.7.9.5