Mercurial > wow > spotlight-hidden-artifact-skin-tracking
comparison Spotlight.lua @ 19:e801ab5c2e1b v0.7.2.1
Bug fix - completed appearences were still showing in LDB tooltip - not anymore! (Thanks for the report pros4c!)
author | Vynn <mischivin@gmail.com> |
---|---|
date | Thu, 30 Mar 2017 22:52:08 -0400 |
parents | 6ee128c4bd4d |
children | 4ec7ae897af0 |
comparison
equal
deleted
inserted
replaced
18:7ddddfad8e71 | 19:e801ab5c2e1b |
---|---|
116 end | 116 end |
117 | 117 |
118 function dataobj:OnTooltipShow() | 118 function dataobj:OnTooltipShow() |
119 self:AddLine("|cffe5cc80Spotlight - Hidden Artifact Skins|r|n|n"); | 119 self:AddLine("|cffe5cc80Spotlight - Hidden Artifact Skins|r|n|n"); |
120 for k, v in pairs(Spotlight.IDs) do | 120 for k, v in pairs(Spotlight.IDs) do |
121 self:AddDoubleLine(k .. ":", Spotlight.Format(k, false) .. " (" .. Spotlight.Format(k, true) .. ")"); | 121 if not Spotlight.Status[k].Completed then |
122 self:AddDoubleLine(k .. ":", Spotlight.Format(k, false) .. " (" .. Spotlight.Format(k, true) .. ")"); | |
123 end | |
122 end | 124 end |
123 self:AddLine("|nClick to toggle display method"); | 125 self:AddLine("|nClick to toggle display method"); |
124 end | 126 end |
125 | 127 |
126 function dataobj:OnEnter() | 128 function dataobj:OnEnter() |