unitframes: update vertical and horizontal orientation

This commit is contained in:
aka LYQ / Virose
2018-02-18 09:39:35 +01:00
committed by Shagu
parent 377d15f22c
commit 39fc5a0d37
+2
View File
@@ -130,6 +130,8 @@ function pfUI.uf:UpdateConfig()
f.hp.bar:SetAllPoints(f.hp)
if f.config.verticalbar == "1" then
f.hp.bar:SetOrientation("VERTICAL")
else
f.hp.bar:SetOrientation("HORIZONTAL")
end
if pfUI_config.unitframes.custombg == "1" then