Alert Fixes (2.1.1)

This commit is contained in:
mikx
2020-12-06 05:03:00 -05:00
parent 6111ec4c2d
commit 8408ffd1ec
4 changed files with 14 additions and 7 deletions

View File

@@ -19,8 +19,10 @@ function MX:ShowAlert(item,stackqty,value,y)
local AlertIcon = AlertUI:CreateTexture(nil,"ARTWORK")
local itemName, itemLink, itemRarity, itemLevel, itemMinLevel, itemType, itemSubType, itemStackCount, itemEquipLoc, itemTexture, itemSellPrice = GetItemInfo(item)
local frameWidth = 200 + (string.len(itemLink)*2);
AlertUI:SetFrameStrata("BACKGROUND")
AlertUI:SetWidth(300)
AlertUI:SetWidth(frameWidth)
AlertUI:SetHeight(80)
AlertUI:SetPoint("CENTER", 0, y)