WoWInterface SVN zz_UI

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 11 to Rev 12
    Reverse comparison

Rev 11 → Rev 12

zz_UI/core.lua
121,17 → 121,17
end
]]--
if(typ == "item" or typ == "enchant" or typ == "spell" or typ == "quest") then
ShowUIPanel(GameTooltip)
GameTooltip:SetOwner(UIParent, "ANCHOR_CURSOR")
GameTooltip:SetHyperlink(link)
GameTooltip:Show()
-- GameTooltip:Show()
ShowUIPanel(GameTooltip)
elseif(typ == "player") then
local typ, name = string.match(link, "^(.-):(.*):(.*):")
if(name) then
ShowUIPanel(GameTooltip)
GameTooltip:SetOwner(UIParent, "ANCHOR_CURSOR")
GameTooltip:SetUnit(name)
GameTooltip:Show()
-- GameTooltip:Show()
ShowUIPanel(GameTooltip)
end
end
end