mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 10:26:02 +00:00
unitframes: add option for vertical health bars
This commit is contained in:
@@ -94,6 +94,9 @@ function pfUI.uf:CreateUnitFrame(unit, id, config, tick)
|
||||
f.hp.bar = CreateFrame("StatusBar", nil, f.hp)
|
||||
f.hp.bar:SetStatusBarTexture("Interface\\AddOns\\pfUI\\img\\bar")
|
||||
f.hp.bar:SetAllPoints(f.hp)
|
||||
if f.config.verticalbar == "1" then
|
||||
f.hp.bar:SetOrientation("VERTICAL")
|
||||
end
|
||||
f.hp.bar:SetMinMaxValues(0, 100)
|
||||
|
||||
if pfUI_config.unitframes.custombg == "1" then
|
||||
|
||||
Reference in New Issue
Block a user