Quantcast

Made a few adjustments to get the second tooltip to show.

Ackis [11-06-08 - 19:58]
Made a few adjustments to get the second tooltip to show.
Filename
ARLFrame.lua
AckisRecipeList.toc
diff --git a/ARLFrame.lua b/ARLFrame.lua
index 38fa343..68056b4 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -1722,24 +1722,28 @@ function SetRecipeButtonTooltip(bIndex)
 	pButton:SetScript("OnEnter",
 			function (pButton)
 				GenerateTooltipContent(pButton, rIndex, playerFaction, exclude)
+				arlTooltip2:Show()
 			end
 		)

 	pButton:SetScript("OnLeave",
 			function()
 				arlTooltip:Hide()
+				arlTooltip2:Hide()
 			end
 		)

 	rButton:SetScript("OnEnter",
 			function (rButton)
 				GenerateTooltipContent(rButton, rIndex, playerFaction, exclude)
+				arlTooltip2:Show()
 			end
 		)

 	rButton:SetScript("OnLeave",
 			function()
 				arlTooltip:Hide()
+				arlTooltip2:Hide()
 			end
 		)

@@ -3994,6 +3998,7 @@ function addon:CreateFrame(
 	-- reset the scale
 	addon.Frame:SetScale(addon.db.profile.uiscale)
 	arlTooltip:SetScale(addon.db.profile.tooltipscale)
+	arlTooltip2:SetScale(addon.db.profile.tooltipscale)

 	-- We'll be in "ExpandAll" mode to start with. Make sure the button knows that:
 	ARL_ExpandButton:SetText(L["EXPANDALL"])
diff --git a/AckisRecipeList.toc b/AckisRecipeList.toc
index 0ce691f..c7c7fa9 100644
--- a/AckisRecipeList.toc
+++ b/AckisRecipeList.toc
@@ -15,7 +15,7 @@
 ## eMail: ackis AT shaw DOT ca
 ## X-email: ackis AT shaw DOT ca
 ## X-License: MIT modified with notification clause
-## X-Donate: Donate a few bucks/hours at your local animal shelter, or send me UDE Point codes, a Murky Code, or an account upgrade certificate.
+## X-Donate: Donate a few bucks/hours at your local animal shelter, or send me UDE Point codes, or a Murky Code.

 ## Interface: 30000
 ## Version: Beta 9 @project-revision@