From 1c980d341796761fc754424fb34fca331526fee7 Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 16 Jul 2022 10:50:19 +0200 Subject: [PATCH] unlock: align mover frame levels to parent --- api/unitframes.lua | 1 - modules/unlock.lua | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) 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()