diff --git a/IceBarElement.lua b/IceBarElement.lua index b2591d7..ae7ab41 100644 --- a/IceBarElement.lua +++ b/IceBarElement.lua @@ -921,8 +921,12 @@ end function IceBarElement.prototype:CreateTexts() - self.frame.bottomUpperText = self:FontFactory(self.moduleSettings.barFontSize, nil, self.frame.bottomUpperText) - self.frame.bottomLowerText = self:FontFactory(self.moduleSettings.barFontSize, nil, self.frame.bottomLowerText) + if not self.frame.bottomUpperText then + self.frame.bottomUpperText = self:FontFactory(self.moduleSettings.barFontSize, nil, self.frame.bottomUpperText) + end + if not self.frame.bottomLowerText then + self.frame.bottomLowerText = self:FontFactory(self.moduleSettings.barFontSize, nil, self.frame.bottomLowerText) + end -- Parnic - commented these out so that they conform to whatever width the string is set to -- self.frame.bottomUpperText:SetWidth(80)