Commit 028c8c9f authored by Tukz's avatar Tukz

Fix popups borders skin on PTR.

parent f7c170de
......@@ -193,7 +193,7 @@ local OnMouseUp = function(self, btn)
return
end
GameTooltip:Hide()
GameTooltip_Hide()
local menuCountWhispers = 0
local menuCountInvites = 0
......@@ -240,10 +240,6 @@ local OnMouseDown = function(self, btn)
end
end
local OnLeave = function()
GameTooltip:Hide()
end
local OnEnter = function(self)
if InCombatLockdown() then
return
......@@ -358,7 +354,7 @@ local OnEnter = function(self)
GameTooltip:Show()
else
GameTooltip:Hide()
GameTooltip_Hide()
end
end
......@@ -404,7 +400,7 @@ local Enable = function(self)
self:SetScript("OnMouseDown", OnMouseDown)
self:SetScript("OnMouseUp", OnMouseUp)
self:SetScript("OnEnter", OnEnter)
self:SetScript("OnLeave", OnLeave)
self:SetScript("OnLeave", GameTooltip_Hide)
self:SetScript("OnEvent", Update)
self:Update()
......
......@@ -43,6 +43,10 @@ function StaticPopups:Skin()
_G[Name.."CloseButton"]:SkinCloseButton()
_G[Name.."CloseButton"].SetNormalTexture = function() end
_G[Name.."CloseButton"].SetPushedTexture = function() end
if T.WoWBuild >= 30827 then
_G[Name].Border:StripTextures()
end
end
function StaticPopups:Enable()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment