Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SwimmingTiger/9e13738b09fa4e46d748372ded6c990f to your computer and use it in GitHub Desktop.
Save SwimmingTiger/9e13738b09fa4e46d748372ded6c990f to your computer and use it in GitHub Desktop.
Paku Totems: Fix the icon on the world map disappears when mouse over a totem
From 1c3d1b105a924a5ec7f76df155806c634c11fea7 Mon Sep 17 00:00:00 2001
From: SwimmingTiger <hu60.cn@gmail.com>
Date: Thu, 30 Aug 2018 00:04:49 +0800
Subject: [PATCH] Fix the icon on the world map disappears when mouse over a
totem.
---
Paku_Totems.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Paku_Totems.lua b/Paku_Totems.lua
index e2be04f..c8f0283 100644
--- a/Paku_Totems.lua
+++ b/Paku_Totems.lua
@@ -162,7 +162,7 @@ function addon:PLAYER_ENTERING_WORLD(event, ...)
local xy, mapid, frame = totem.dst, totem.dstMapID, totem.totemDestFrame
Pins:AddMinimapIconMap(addonName.."dest", frame, mapid, xy[1],xy[2], true, true)
- addon:showTotemOnMap(totemID, "TaxiNode_Neutral", true, "dest")
+ addon:showTotemOnMap(totemID, "TaxiNode_Neutral", true, "OVERLAY", "dest")
end)
--GameTooltip:HookScript("OnUpdate", function() Pins:RemoveAllWorldMapIcons(addonName.."dest") end)
--
2.7.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment