From 3086acde21a82ec83c72637ff69debdd7b0ce466 Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 2 Apr 2020 16:06:21 +0200 Subject: [PATCH] unlock: ensure parent is set to UIParent on move --- modules/unlock.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/unlock.lua b/modules/unlock.lua index c775c639..7e68e9a6 100644 --- a/modules/unlock.lua +++ b/modules/unlock.lua @@ -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)