local MER, F, E, L, V, P, G = unpack(select(2, ...))
local module = MER.Modules.Skins
local S = E:GetModule('Skins')

local _G = _G

local function LoadSkin()
	if not module:CheckDB("character", "character") then
		return
	end

	-- Hide ElvUI Backdrop
	local CharacterFrame = _G.CharacterFrame
	if CharacterFrame.backdrop then
		CharacterFrame.backdrop:Styling()
	end
	module:CreateBackdropShadow(CharacterFrame)
end

S:AddCallback("CharacterFrame", LoadSkin)
