fix error when using aux
This commit is contained in:
+2
-6
@@ -332,16 +332,12 @@ ItemRefTooltip:SetScript("OnHide", function()
|
||||
end)
|
||||
|
||||
AtlasLootTip:SetScript("OnShow", function()
|
||||
if aux_frame and aux_frame:IsVisible() then
|
||||
if GetMouseFocus():GetParent() then
|
||||
if GetMouseFocus():GetParent().row then
|
||||
if GetMouseFocus():GetParent().row.record.item_id then
|
||||
if aux_frame and aux_frame:IsShown() then
|
||||
if GetMouseFocus() and GetMouseFocus():GetParent() and GetMouseFocus():GetParent().row and GetMouseFocus():GetParent().row.record then
|
||||
GameTooltip.itemID = GetMouseFocus():GetParent().row.record.item_id
|
||||
ExtendTooltip(GameTooltip)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
-- adapted from http://shagu.org/ShaguTweaks/
|
||||
|
||||
Reference in New Issue
Block a user