unitframes: add option for vertical health bars

This commit is contained in:
stokbaek
2017-12-05 21:01:54 +01:00
committed by Shagu
parent b9dcfe8814
commit 03eb6a737c
12 changed files with 55 additions and 6 deletions
+3
View File
@@ -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