From b2ead1617c92645ad632b80a660cb05b62e0c8ed Mon Sep 17 00:00:00 2001 From: Xruptor Date: Sun, 24 Jul 2016 18:15:42 -0400 Subject: [PATCH] Updated for Legion -Updated TOC for Legion -You can now hold down the SHIFT key during combat to view the tooltips. --- xanTooltipIcon.lua | 5 +++++ xanTooltipIcon.toc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/xanTooltipIcon.lua b/xanTooltipIcon.lua index 098496a..a99432c 100644 --- a/xanTooltipIcon.lua +++ b/xanTooltipIcon.lua @@ -5,6 +5,11 @@ local registry = {} +local debugf = tekDebug and tekDebug:GetFrame("xanTooltipIcon") +local function Debug(...) + if debugf then debugf:AddMessage(string.join(", ", tostringall(...))) end +end + local hookfactory = function(hook,orig) return function(self,...) local reg = registry[self] diff --git a/xanTooltipIcon.toc b/xanTooltipIcon.toc index 75cf958..4e2c87e 100644 --- a/xanTooltipIcon.toc +++ b/xanTooltipIcon.toc @@ -1,7 +1,7 @@ -## Interface: 60000 +## Interface: 70000 ## Title: XanTooltipIcon ## Notes: Adds an icon to tooltips for achievement or item chat links. ## Author: Xruptor -## Version: 1.8 +## Version: 1.9 xanTooltipIcon.lua -- 1.7.9.5