From c31a1024c91131df5a1fc6f6c2520863b93d98fb Mon Sep 17 00:00:00 2001 From: tardmrr Date: Sat, 14 Apr 2007 03:35:50 +0000 Subject: [PATCH] * Corrected whitespace because I'm an idiot. * Removed a couple of unneeded commented lines. --- TomTom.lua | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/TomTom.lua b/TomTom.lua index 59248dc..0e27ff2 100755 --- a/TomTom.lua +++ b/TomTom.lua @@ -153,10 +153,9 @@ end local function MinimapIcon_OnEnter(self) local tooltip = TomTom.tooltip - --tooltip:SetParent(UIParent) tooltip:SetScale(UIParent:GetEffectiveScale()) - tooltip:SetOwner(self, "ANCHOR_CURSOR") - tooltip_icon = self + tooltip:SetOwner(self, "ANCHOR_CURSOR") + tooltip_icon = self if self.label then tooltip:SetText("TomTom: " .. self.label .. "\n") else @@ -355,9 +354,8 @@ end local function WorldMapIcon_OnEnter(self) local tooltip = TomTom.tooltip - --tooltip:SetParent(self) - tooltip:SetScale(UIParent:GetEffectiveScale()) - tooltip:SetOwner(self, "ANCHOR_CURSOR") + tooltip:SetScale(UIParent:GetEffectiveScale()) + tooltip:SetOwner(self, "ANCHOR_CURSOR") tooltip_icon = self if self.label then tooltip:SetText("TomTom: " .. self.label .. "\n") -- 1.7.9.5