unlock: align mover frame levels to parent

This commit is contained in:
shagu
2022-07-16 10:50:19 +02:00
parent f8316228d7
commit 1c980d3417
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -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
+2 -1
View File
@@ -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()