mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-06 05:30:00 +00:00
unlock: align mover frame levels to parent
This commit is contained in:
@@ -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
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user