From 36c91a36c885f138aa54b410a8a425cd02e5e554 Mon Sep 17 00:00:00 2001 From: Parnic Date: Mon, 8 Nov 2010 04:57:18 +0000 Subject: [PATCH] - don't force-set the color of each rune since they're already set in the texture. this does remove the nice border coloration we had before, but oh well. setting colors on colored textures is bad. --- modules/Runes.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Runes.lua b/modules/Runes.lua index b9d0490..878f99a 100644 --- a/modules/Runes.lua +++ b/modules/Runes.lua @@ -274,7 +274,7 @@ function Runes.prototype:UpdateRuneType(event, rune) local thisRuneName = self.runeNames[GetRuneType(rune)] self.frame.graphical[rune].rune:SetTexture(self:GetRuneTexture(thisRuneName)) - self.frame.graphical[rune].rune:SetVertexColor(self:GetColor("Runes"..thisRuneName)) + --self.frame.graphical[rune].rune:SetVertexColor(self:GetColor("Runes"..thisRuneName)) end function Runes.prototype:GetRuneTexture(runeName) @@ -365,7 +365,7 @@ function Runes.prototype:CreateRune(i, type, name) self.frame.graphical[i]:SetPoint("TOPLEFT", 0, -1 * ((runeSwapI-1) * (self.runeSize-5) + (runeSwapI-1) + ((runeSwapI-1) * self.moduleSettings.runeGap))) end - self.frame.graphical[i].rune:SetVertexColor(self:GetColor("Runes"..name)) + --self.frame.graphical[i].rune:SetVertexColor(self:GetColor("Runes"..name)) self.frame.graphical[i]:Show() self.frame.graphical[i].cd:SetFrameStrata("BACKGROUND")