From 7749d996e88a7cebd8e0d0e57b1253ed7b2113c4 Mon Sep 17 00:00:00 2001 From: tekkub Date: Sun, 27 Feb 2011 23:36:49 -0700 Subject: [PATCH] Honor points changed, that conditional isn't needed anymore --- GnomishVendorShrinker.lua | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/GnomishVendorShrinker.lua b/GnomishVendorShrinker.lua index 08f3921..bea9507 100644 --- a/GnomishVendorShrinker.lua +++ b/GnomishVendorShrinker.lua @@ -93,13 +93,6 @@ local function SetValue(self, text, icon, link) self.text:SetText(text) self.icon:SetTexture(icon) self.link, self.index, self.itemIndex = link - if link == HONOR_POINTS then - self.icon:SetPoint("RIGHT", -2, 0) - self.text:SetPoint("RIGHT", self.icon, "LEFT", -GAP/2 + 2, 0) - else - self.icon:SetPoint("RIGHT") - self.text:SetPoint("RIGHT", self.icon, "LEFT", -GAP/2, 0) - end self:Show() end @@ -114,8 +107,10 @@ local function GetAltCurrencyFrame(frame) f.icon = f:CreateTexture() f.icon:SetWidth(ICONSIZE) f.icon:SetHeight(ICONSIZE) + f.icon:SetPoint("RIGHT") f.text = f:CreateFontString(nil, nil, "NumberFontNormalSmall") + f.text:SetPoint("RIGHT", f.icon, "LEFT", -GAP/2, 0) f.SetValue = SetValue