farmmode: always adjust minimap if required

This commit is contained in:
shagu
2019-04-13 12:47:41 +02:00
parent 26c5545733
commit 7407c1a95f
+3 -1
View File
@@ -63,7 +63,9 @@ pfUI:RegisterModule("farmmode", 20400, function ()
SaveMovable(this)
end)
pfUI.farmmap:SetScript("OnShow", function()
pfUI.farmmap:SetScript("OnUpdate", function()
if not Minimap:IsShown() then return end
Minimap:Hide()
-- move existing nodes to new minimap