From c89e605e2d5bb63d4c917a4cff60e102a6bb2de9 Mon Sep 17 00:00:00 2001 From: Anch Date: Wed, 10 Aug 2022 22:54:25 +1200 Subject: [PATCH] missed hiding tooltip on subtable --- AtlasLoot/DefaultFrame/AtlaslootDefaultFrameCreate.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/AtlasLoot/DefaultFrame/AtlaslootDefaultFrameCreate.lua b/AtlasLoot/DefaultFrame/AtlaslootDefaultFrameCreate.lua index a08e267..ab7d8a7 100644 --- a/AtlasLoot/DefaultFrame/AtlaslootDefaultFrameCreate.lua +++ b/AtlasLoot/DefaultFrame/AtlaslootDefaultFrameCreate.lua @@ -513,13 +513,17 @@ function AtlasLoot:SubTableScrollFrameUpdate(tablename, dataSource, pFrame, tabl row:SetScript("OnLeave", function() GameTooltip:Hide() end) else row.Text:SetText("|cffFFd200"..dataSource[tablename][value].Name); + row:SetScript("OnEnter", function(self) + GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); + GameTooltip:Hide(); + end) if tablenum == value and dataSource ~= AtlasLoot_MapData then row:SetChecked(true); end end row:Show(); else - subtableFrame.rows[i]:Hide() + subtableFrame.rows[i]:Hide(); end end end