changeset 1:6ab5b23877a6

Changed the layer of the BH arrow so that it is always on top of the rubies.
author only1yzerman
date Fri, 10 May 2013 03:45:15 -0400
parents ff01eb61abab
children 91131c35a2c3
files Bloodhound2.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Bloodhound2.lua	Thu May 09 18:53:18 2013 -0400
+++ b/Bloodhound2.lua	Fri May 10 03:45:15 2013 -0400
@@ -196,7 +196,7 @@
 	local tex = Bloodhound2.GravityTexture
 
 	if not ( tex ) then
-		tex = Minimap:CreateTexture();
+		tex = Minimap:CreateTexture("Bloodhound2_Arrow", "OVERLAY");
 		tex:SetTexture("Interface\\AddOns\\Bloodhound2\\MinimapArrow");
 		Bloodhound2.GravityTexture = tex
 	end
@@ -248,7 +248,7 @@
 function Bloodhound2.SetCircle(dx, dy, alpha)
 	local circle;
 	if (#circles < nextCircle) then
-		circle = Minimap:CreateTexture();
+		circle = Minimap:CreateTexture("Bloodhound_Circle", "ARTWORK", nil, -7);
 		circles[nextCircle] = circle;
 		circle:SetTexture("Interface\\AddOns\\Bloodhound2\\Circle");
 		circle:SetWidth(12);