local W, F, E, L = unpack((select(2, ...))) ---@type WindTools, Functions, ElvUI, LocaleTable
local S = W.Modules.Skins ---@type Skins

local _G = _G

function S:ElvUI_AltPowerBar()
	if not (E.private.WT.skins.elvui.enable and E.private.WT.skins.elvui.altPowerBar) then
		return
	end

	local bar = _G.ElvUI_AltPowerBar
	if not bar then
		return
	end

	self:CreateBackdropShadow(bar)

	bar.text:ClearAllPoints()
	bar.text:Point("CENTER", bar, "CENTER", 0, 1)
end

S:AddCallback("ElvUI_AltPowerBar")
