target-castbar: expose castbar to other addons

This commit is contained in:
vortigern11
2023-08-28 16:39:09 +02:00
committed by GitHub
parent 50db25137f
commit a7e79580eb
+1 -1
View File
@@ -11,7 +11,7 @@ local module = ShaguTweaks:register({
enabled = true,
})
local castbar = CreateFrame("StatusBar", nil, TargetFrame)
local castbar = CreateFrame("StatusBar", "ShaguTargetCastbar", TargetFrame)
castbar:SetPoint("BOTTOM", TargetFrame, "BOTTOM", -12, -4)
castbar:SetStatusBarTexture("Interface\\TargetingFrame\\UI-StatusBar")
castbar:SetStatusBarColor(1, .8, 0, 1)