mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
unlock: ensure parent is set to UIParent on move
This commit is contained in:
@@ -363,6 +363,7 @@ pfUI:RegisterModule("unlock", "vanilla:tbc", function ()
|
||||
local diffypos = frame.oldPos[2] - ypos
|
||||
|
||||
for id, frame in pairs(pfUI.unlock.selection) do
|
||||
frame:SetParent("UIParent")
|
||||
if frame:GetName() ~= name then
|
||||
local anchor, _, _, xpos, ypos = frame:GetPoint()
|
||||
frame:SetPoint(anchor or "TOPLEFT", xpos - diffxpos, ypos - diffypos)
|
||||
|
||||
Reference in New Issue
Block a user