unlock: ensure parent is set to UIParent on move

This commit is contained in:
shagu
2020-04-02 16:06:21 +02:00
parent 968fef0f98
commit 3086acde21
+1
View File
@@ -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)