Add item level to inspect frame #15

Merged
atomaka merged 6 commits from inspect-ilvl into master 2021-03-01 20:45:14 -05:00
Showing only changes of commit 36a10010b3 - Show all commits

View file

@ -59,7 +59,7 @@ function GetUnitFromGuid(guid)
end end
function events:INSPECT_READY(guid) function events:INSPECT_READY(guid)
if not inspectInitialized then if not inspectInitialized and InspectFrame then
InspectFontStrings["itemLevel"] = InspectFrame:CreateFontString(nil, "OVERLAY") InspectFontStrings["itemLevel"] = InspectFrame:CreateFontString(nil, "OVERLAY")
InspectFontStrings["itemLevel"]:SetPoint("BOTTOMRIGHT", -5, 5) InspectFontStrings["itemLevel"]:SetPoint("BOTTOMRIGHT", -5, 5)
InspectFontStrings["itemLevel"]:SetFont("Fonts\\FRIZQT__.ttf", 24, "OUTLINE") InspectFontStrings["itemLevel"]:SetFont("Fonts\\FRIZQT__.ttf", 24, "OUTLINE")