From dbc84b29b1d3fa1e5ae2c855b1fe861c25b4a83b Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 3 Jan 2019 19:42:34 +0100 Subject: [PATCH] unlock: trigger move actions on reset --- modules/unlock.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/unlock.lua b/modules/unlock.lua index ffc6c069..c18b763b 100644 --- a/modules/unlock.lua +++ b/modules/unlock.lua @@ -348,6 +348,8 @@ pfUI:RegisterModule("unlock", function () pfUI_config["position"][frame:GetName()] = nil frame:ClearAllPoints() UpdateMovable(frame) + + if frame.OnMove then frame:OnMove() end end UpdateDockValues() end @@ -557,6 +559,9 @@ pfUI:RegisterModule("unlock", function () frame:StopMovingOrSizing() SavePosition(frame) end + + if frame.OnMove then frame:OnMove() end + QueueFunction(SetDockToFrame, pfUI.unlock.dock.parent) end) SkinButton(pfUI.unlock.dock.reset,.2,1,.8)