Quantcast

Remove debug code, and make intersectRate equal zero by default. This disables intersect checking. There's a bug where the tooltip will expand in width. I need to sleep though.

Scott Sibley [07-30-11 - 12:25]
Remove debug code, and make intersectRate equal zero by default. This disables intersect checking. There's a bug where the tooltip will expand in width. I need to sleep though.
Filename
Modules/UnitTooltip/UnitTooltip.lua
StarTip.lua
diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua
index 582ada7..e2de41f 100644
--- a/Modules/UnitTooltip/UnitTooltip.lua
+++ b/Modules/UnitTooltip/UnitTooltip.lua
@@ -132,14 +132,6 @@ else
     r, g, b = UnitSelectionColor(self.unitOverride)
 end

-if UnitIsUnit(self.unitOverride, "player") then
-	self.speed = 200
-	self.align = WidgetText.ALIGN_LEFT
-	self.direction = WidgetText.SCROLL_RIGHT
-	self.width = 500
-end
-
-
 return dt:format(r, g, b)
 ]],
         rightUpdating = true,
diff --git a/StarTip.lua b/StarTip.lua
index c0c5008..3be36e7 100644
--- a/StarTip.lua
+++ b/StarTip.lua
@@ -189,7 +189,7 @@ local defaults = {
 		otherFrameShow = 1,
 		errorLevel = 2,
 		throttleVal = 0,
-		intersectRate = 1000,
+		intersectRate = 0,
 		modifierInverse = false,
 		message = true
 	}