Removed Subzone tooltip
p3lim-52096 [11-09-08 - 18:28]
Removed Subzone tooltip
git-svn-id: svn://svn.wowinterface.com/pMinimap-54/trunk@59 ae24c21f-2f0c-4c94-9256-0092abe71e0d
diff --git a/pMinimap/pMinimap.lua b/pMinimap/pMinimap.lua
index bf855b7..a88bfca 100644
--- a/pMinimap/pMinimap.lua
+++ b/pMinimap/pMinimap.lua
@@ -19,19 +19,6 @@ function pMinimap:ADDON_LOADED(event)
pMinimapDB2.unlocked = false
self:UnregisterEvent(event)
- Minimap:SetScript('OnLeave', function() GameTooltip:Hide() end)
- Minimap:SetScript('OnEnter', function(self)
- if(pMinimapDB2.subzone) then
- GameTooltip:SetOwner(self, 'ANCHOR_BOTTOMLEFT')
- local o1, o2 = GameTooltip.IsOwned, GameTooltip.SetOwner
- local typ, sub, name = GetZonePVPInfo()
- GameTooltip.IsOwned, GameTooltip.SetOwner = function() return true end, function() end
- Minimap_SetTooltip(typ, name)
- GameTooltip.IsOwned, GameTooltip.SetOwner = o1, o2
- GameTooltip:Show()
- end
- end)
-
MinimapZoomIn:Hide()
MinimapZoomOut:Hide()
Minimap:EnableMouseWheel()