unlock: avoid nil anchors by removing frame reset

This commit is contained in:
shagu
2019-05-09 21:10:05 +02:00
parent dbc1f0442f
commit b56a20897d
-1
View File
@@ -352,7 +352,6 @@ pfUI:RegisterModule("unlock", 20400, function ()
pfUI.unlock.selection = GetFrames()
for id, frame in pairs(pfUI.unlock.selection) do
pfUI_config["position"][frame:GetName()] = nil
frame:ClearAllPoints()
UpdateMovable(frame)
if frame.OnMove then frame:OnMove() end