moved collapse/expand tooltip
This commit is contained in:
+2
-4
@@ -115,13 +115,11 @@ local methods = {
|
|||||||
if rt.disabled then return end
|
if rt.disabled then return end
|
||||||
if this ~= row.cells[1] or not rt.isShowingItemTooltip then
|
if this ~= row.cells[1] or not rt.isShowingItemTooltip then
|
||||||
if rt.expanded[row.data.expandKey] then
|
if rt.expanded[row.data.expandKey] then
|
||||||
GameTooltip:SetOwner(this, 'ANCHOR_NONE')
|
GameTooltip_SetDefaultAnchor(GameTooltip, UIParent)
|
||||||
GameTooltip:SetPoint('BOTTOMLEFT', this, 'TOPLEFT')
|
|
||||||
GameTooltip:AddLine('Double-click to collapse this item and show only the cheapest auction.', 1, 1, 1, true)
|
GameTooltip:AddLine('Double-click to collapse this item and show only the cheapest auction.', 1, 1, 1, true)
|
||||||
GameTooltip:Show()
|
GameTooltip:Show()
|
||||||
elseif row.data.expandable then
|
elseif row.data.expandable then
|
||||||
GameTooltip:SetOwner(this, 'ANCHOR_NONE')
|
GameTooltip_SetDefaultAnchor(GameTooltip, UIParent)
|
||||||
GameTooltip:SetPoint('BOTTOMLEFT', this, 'TOPLEFT')
|
|
||||||
GameTooltip:AddLine('Double-click to expand this item and show all the auctions.', 1, 1, 1, true)
|
GameTooltip:AddLine('Double-click to expand this item and show all the auctions.', 1, 1, 1, true)
|
||||||
GameTooltip:Show()
|
GameTooltip:Show()
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user