This commit is contained in:
Pinya
2018-07-24 18:47:23 +03:00
parent 11ea55b1a5
commit 19ad72bfbf
3 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -94,14 +94,14 @@ local function LoadRollSkin()
if E.private.general.lootRoll then return end
if not E.private.skins.blizzard.enable or not E.private.skins.blizzard.lootRoll then return end
local function OnShow(self)
E:SetTemplate(self, "Transparent")
local function OnShow()
E:SetTemplate(this, "Transparent")
local cornerTexture = _G[self:GetName().."Corner"]
local cornerTexture = _G[this:GetName().."Corner"]
cornerTexture:SetTexture()
local iconFrame = _G[self:GetName().."IconFrame"]
local _, _, _, quality = GetLootRollItemInfo(self.rollID)
local iconFrame = _G[this:GetName().."IconFrame"]
local _, _, _, quality = GetLootRollItemInfo(this.rollID)
iconFrame:SetBackdropBorderColor(GetItemQualityColor(quality))
end