diff --git a/skins/blizzard/professions.lua b/skins/blizzard/professions.lua index b3b8f271..fcdc1adb 100644 --- a/skins/blizzard/professions.lua +++ b/skins/blizzard/professions.lua @@ -190,6 +190,7 @@ pfUI:RegisterSkin("Profession", function () seltitle:SetTextColor(.8,.8,.8,1) reagentlabel:ClearAllPoints() + reagentlabel:SetPoint("TOPLEFT", seltitle, "BOTTOMLEFT", -45, -15) reagentlabel:SetTextColor(1,1,1,1) local scanner = libtipscan:GetScanner(name) @@ -198,14 +199,14 @@ pfUI:RegisterSkin("Profession", function () detailscroll:Show() HandleIcon(icon, icon:GetNormalTexture()) - local off = requiretext and requiretext:GetHeight() or 1 - reagentlabel:SetPoint("TOPLEFT", seltitle, "BOTTOMLEFT", -45, -15-off) - if name == "TradeSkill" then local itemlink = GetTradeSkillItemLink(id) if not itemlink then return end local _, _, link = string.find(itemlink, "(item:%d+:%d+:%d+:%d+)") + local off = requiretext and requiretext:GetHeight() or 1 + reagentlabel:SetPoint("TOPLEFT", seltitle, "BOTTOMLEFT", -45, -15-off) + if link then scanner:SetHyperlink(link) seltitle:SetHeight(0)