You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
644 B

local AS, L, S, R = unpack(AddOnSkins)
local _G = _G
local hooksecurefunc = hooksecurefunc
function R:Blizzard_CovenantRenown()
if not AS:IsSkinEnabled('Blizzard_CovenantRenown', 'covenantRenown') then return end
local frame = _G.CovenantRenownFrame
S:HandleCloseButton(frame.CloseButton)
hooksecurefunc(frame, 'SetUpCovenantData', function(Frame)
Frame.CloseButton.Border:Hide()
if not AS:CheckOption('Parchment') then
S:HandleFrame(Frame)
end
end)
if not AS:CheckOption('Parchment') then
S:SetTemplate(frame.TrackFrame)
end
end
AS:RegisterSkin('Blizzard_CovenantRenown', nil, 'ADDON_LOADED')