target-castbar: hide castbar by default
This commit is contained in:
@@ -10,12 +10,12 @@ local module = ShaguTweaks:register({
|
||||
})
|
||||
|
||||
local castbar = CreateFrame("StatusBar", nil, TargetFrame)
|
||||
|
||||
castbar:SetPoint("TOP", TargetFrame, "BOTTOM", 0, -20)
|
||||
castbar:SetStatusBarTexture("Interface\\TargetingFrame\\UI-StatusBar")
|
||||
castbar:SetStatusBarColor(1, .8, 0, 1)
|
||||
castbar:SetWidth(120)
|
||||
castbar:SetHeight(10)
|
||||
castbar:Hide()
|
||||
|
||||
castbar.texture = CreateFrame("Frame", nil, castbar)
|
||||
castbar.texture:SetPoint("RIGHT", castbar, "LEFT", -4, 0)
|
||||
|
||||
Reference in New Issue
Block a user