changeset 7:28d5f1fbd33f

Disable the reagent's reagent tooltip, as no add-on like Datastore can hook it right now
author contrebasse
date Sat, 02 Apr 2011 21:45:14 +0200
parents 43e21c6513e0
children 17844b0b88c1
files ReagentMaker.lua
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ReagentMaker.lua	Sat Apr 02 21:43:25 2011 +0200
+++ b/ReagentMaker.lua	Sat Apr 02 21:45:14 2011 +0200
@@ -79,9 +79,11 @@
 	A.tooltipRecipe = CreateFrame("GameTooltip", "ReagentMaker_tooltipRecipe",UIParent, "GameTooltipTemplate")
 	A.tooltipRecipe:SetFrameStrata("TOOLTIP")
 	A.tooltipRecipe:Hide()
+	--[[
 	A.tooltipReagent = CreateFrame("GameTooltip", "ReagentMaker_tooltipReagent",UIParent, "GameTooltipTemplate")
 	A.tooltipReagent:SetFrameStrata("TOOLTIP")
 	A.tooltipReagent:Hide()
+	--]]
 end -- function
 
 
@@ -200,6 +202,7 @@
 	--A.tooltipRecipe:SetPoint("TOPLEFT",btn,"TOPRIGHT")
 	A.tooltipRecipe:SetPoint("BOTTOMLEFT",GameTooltip,"BOTTOMRIGHT")
 
+	--[[
 	if #(A.data[reagentID]) == 1 then
 		A.tooltipReagent:SetOwner(A.tooltipRecipe)
 		local name, link, quality, iLevel, reqLevel, class, subclass, maxStack, equipSlot, texture, vendorPrice = GetItemInfo(A.data[reagentID][1][1])
@@ -208,6 +211,7 @@
 		A.tooltipReagent:ClearAllPoints()
 		A.tooltipReagent:SetPoint("BOTTOMLEFT",A.tooltipRecipe,"BOTTOMRIGHT")
 	end
+	--]]
 end
 
 function A.btnLeft(btn)