unitframes: add option for text offsets for hp & power bars

This commit is contained in:
dbulatovicx32
2024-09-23 09:44:20 +02:00
committed by GitHub
parent b707c4b11f
commit b0553c1328
3 changed files with 36 additions and 12 deletions
+12
View File
@@ -448,11 +448,23 @@ function pfUI:LoadConfig()
pfUI:UpdateConfig("unitframes", unit, "levelcolor", "1")
pfUI:UpdateConfig("unitframes", unit, "classcolor", "1")
pfUI:UpdateConfig("unitframes", unit, "txthpleft", "unit")
pfUI:UpdateConfig("unitframes", unit, "txthpleftoffx", "0")
pfUI:UpdateConfig("unitframes", unit, "txthpleftoffy", "0")
pfUI:UpdateConfig("unitframes", unit, "txthpcenter", "none")
pfUI:UpdateConfig("unitframes", unit, "txthpcenteroffx", "0")
pfUI:UpdateConfig("unitframes", unit, "txthpcenteroffy", "0")
pfUI:UpdateConfig("unitframes", unit, "txthpright", "healthdyn")
pfUI:UpdateConfig("unitframes", unit, "txthprightoffx", "0")
pfUI:UpdateConfig("unitframes", unit, "txthprightoffy", "0")
pfUI:UpdateConfig("unitframes", unit, "txtpowerleft", "none")
pfUI:UpdateConfig("unitframes", unit, "txtpowerleftoffx", "0")
pfUI:UpdateConfig("unitframes", unit, "txtpowerleftoffy", "0")
pfUI:UpdateConfig("unitframes", unit, "txtpowercenter", "none")
pfUI:UpdateConfig("unitframes", unit, "txtpowercenteroffx", "0")
pfUI:UpdateConfig("unitframes", unit, "txtpowercenteroffy", "0")
pfUI:UpdateConfig("unitframes", unit, "txtpowerright", "none")
pfUI:UpdateConfig("unitframes", unit, "txtpowerrightoffx", "0")
pfUI:UpdateConfig("unitframes", unit, "txtpowerrightoffy", "0")
pfUI:UpdateConfig("unitframes", unit, "hitindicator", "0")
pfUI:UpdateConfig("unitframes", unit, "hitindicatorsize", "15")
pfUI:UpdateConfig("unitframes", unit, "hitindicatorfont", "Interface\\AddOns\\pfUI\\fonts\\Continuum.ttf")