From 998ff6167fa092d172bf0bbbd608cee6c882cb3f Mon Sep 17 00:00:00 2001 From: Parnic Date: Fri, 15 Oct 2010 13:02:33 +0000 Subject: [PATCH] - fixed scaling to affect the text and icons again like it used to --- IceBarElement.lua | 2 +- IceElement.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IceBarElement.lua b/IceBarElement.lua index 7a3ddcf..0245f75 100644 --- a/IceBarElement.lua +++ b/IceBarElement.lua @@ -796,7 +796,7 @@ function IceBarElement.prototype:CreateFrame() end end - self.frame:SetScale(self.moduleSettings.scale) + self.masterFrame:SetScale(self.moduleSettings.scale) -- never register the OnUpdate for the mirror bar since it's handled internally -- in addition, do not register OnUpdate if predictedPower is set and this is the player mana or target mana bar if not string.find(self.elementName, "MirrorBar") diff --git a/IceElement.lua b/IceElement.lua index f49a73e..9d44f52 100644 --- a/IceElement.lua +++ b/IceElement.lua @@ -214,7 +214,7 @@ function IceElement.prototype:CreateFrame() end self.masterFrame:SetAllPoints(self.frame) - self.frame:SetScale(self.moduleSettings.scale) + self.masterFrame:SetScale(self.moduleSettings.scale) self:UpdateAlpha() end