diff --git a/api/unitframes.lua b/api/unitframes.lua index ded0206a..c2cbedc6 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -431,7 +431,6 @@ function pfUI.uf:UpdateConfig() pfUI.api.CreateBackdrop(f.power, default_border) f.power.bar:SetStatusBarTexture(pfUI.media[f.config.bartexture]) f.power.bar:SetAllPoints(f.power) - f.power.bar:SetFrameStrata("LOW") local custompbg = f.config.defcolor == "0" and f.config.custompbg or C.unitframes.custompbg local custompbgcolor = f.config.defcolor == "0" and f.config.custompbgcolor or C.unitframes.custompbgcolor diff --git a/modules/unlock.lua b/modules/unlock.lua index fa84c82d..4e033751 100644 --- a/modules/unlock.lua +++ b/modules/unlock.lua @@ -439,10 +439,11 @@ pfUI:RegisterModule("unlock", "vanilla:tbc", function () d:RegisterForClicks("MiddleButtonUp", "RightButtonUp") d:RegisterForDrag("LeftButton") d:SetAllPoints(f) - d:SetFrameStrata("DIALOG") d:SetAlpha(1) d:EnableMouseWheel(1) + d:SetFrameLevel(128) + d.text = d:CreateFontString("Status", "LOW", "GameFontNormal") d.text:SetFont(pfUI.font_default, C.global.font_size, "OUTLINE") d.text:ClearAllPoints()