unitframes: add option for power bar textures

This commit is contained in:
Mr_Rosh
2022-08-05 19:02:43 +03:00
committed by GitHub
parent c7f31fe9b0
commit b87a07bf3c
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -429,7 +429,7 @@ function pfUI.uf:UpdateConfig()
if tonumber(f.config.pheight) < 0 then f.power:Hide() end
pfUI.api.CreateBackdrop(f.power, default_border)
f.power.bar:SetStatusBarTexture(pfUI.media[f.config.bartexture])
f.power.bar:SetStatusBarTexture(pfUI.media[f.config.pbartexture])
f.power.bar:SetAllPoints(f.power)
local custompbg = f.config.defcolor == "0" and f.config.custompbg or C.unitframes.custompbg