From c669ad78b764e2cfc15a359393f0d77be3d8d227 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Thu, 25 Sep 2008 17:01:01 +0000 Subject: [PATCH] Don't hide icons that are disabled, so they still get callbacks --- TomTom_Waypoints.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TomTom_Waypoints.lua b/TomTom_Waypoints.lua index 591e170..2e6a191 100644 --- a/TomTom_Waypoints.lua +++ b/TomTom_Waypoints.lua @@ -310,7 +310,7 @@ do local dist,x,y = Astrolabe:GetDistanceToIcon(self) local disabled = self.disabled - if disabled or not dist or IsInInstance() then + if not dist or IsInInstance() then self:Hide() return end -- 1.7.9.5