From 23f8bcefc6b63b4ec870de75a0f5261f3ab82d59 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Wed, 17 Feb 2016 18:38:22 +0100 Subject: [PATCH] moved collapse/expand tooltip --- auction_listing.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/auction_listing.lua b/auction_listing.lua index bbfa56f..efd8858 100644 --- a/auction_listing.lua +++ b/auction_listing.lua @@ -115,13 +115,11 @@ local methods = { if rt.disabled then return end if this ~= row.cells[1] or not rt.isShowingItemTooltip then if rt.expanded[row.data.expandKey] then - GameTooltip:SetOwner(this, 'ANCHOR_NONE') - GameTooltip:SetPoint('BOTTOMLEFT', this, 'TOPLEFT') + GameTooltip_SetDefaultAnchor(GameTooltip, UIParent) GameTooltip:AddLine('Double-click to collapse this item and show only the cheapest auction.', 1, 1, 1, true) GameTooltip:Show() elseif row.data.expandable then - GameTooltip:SetOwner(this, 'ANCHOR_NONE') - GameTooltip:SetPoint('BOTTOMLEFT', this, 'TOPLEFT') + GameTooltip_SetDefaultAnchor(GameTooltip, UIParent) GameTooltip:AddLine('Double-click to expand this item and show all the auctions.', 1, 1, 1, true) GameTooltip:Show() end