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.

20 lines
492 B

local E, L, V, P, G = unpack(ElvUI)
local S = E:GetModule('Skins')
local _G = _G
function S:Blizzard_GenericTraitUI()
if not (E.private.skins.blizzard.enable and E.private.skins.blizzard.genericTrait) then return end
local GenericTrait = _G.GenericTraitFrame
if E.private.skins.parchmentRemoverEnable then
GenericTrait:StripTextures()
end
GenericTrait:SetTemplate('Transparent')
S:HandleCloseButton(GenericTrait.CloseButton)
end
S:AddCallbackForAddon('Blizzard_GenericTraitUI')