mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- fixed a bug causing bar font size adjustments to not take effect/display until a ui reload
This commit is contained in:
@ -923,12 +923,8 @@ end
|
|||||||
|
|
||||||
|
|
||||||
function IceBarElement.prototype:CreateTexts()
|
function IceBarElement.prototype:CreateTexts()
|
||||||
if not self.frame.bottomUpperText then
|
self.frame.bottomUpperText = self:FontFactory(self.moduleSettings.barFontSize, nil, self.frame.bottomUpperText)
|
||||||
self.frame.bottomUpperText = self:FontFactory(self.moduleSettings.barFontSize, nil, self.frame.bottomUpperText)
|
self.frame.bottomLowerText = self:FontFactory(self.moduleSettings.barFontSize, nil, self.frame.bottomLowerText)
|
||||||
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
|
-- Parnic - commented these out so that they conform to whatever width the string is set to
|
||||||
-- self.frame.bottomUpperText:SetWidth(80)
|
-- self.frame.bottomUpperText:SetWidth(80)
|
||||||
|
@ -476,9 +476,7 @@ end
|
|||||||
|
|
||||||
function IceClassPowerCounter.prototype:CreateRuneFrame()
|
function IceClassPowerCounter.prototype:CreateRuneFrame()
|
||||||
-- create numeric runes
|
-- create numeric runes
|
||||||
if not self.frame.numeric then
|
self.frame.numeric = self:FontFactory(self.moduleSettings.runeFontSize, self.frame, self.frame.numeric)
|
||||||
self.frame.numeric = self:FontFactory(self.moduleSettings.runeFontSize, self.frame, self.frame.numeric)
|
|
||||||
end
|
|
||||||
|
|
||||||
self.frame.numeric:SetWidth(50)
|
self.frame.numeric:SetWidth(50)
|
||||||
self.frame.numeric:SetJustifyH("CENTER")
|
self.frame.numeric:SetJustifyH("CENTER")
|
||||||
|
@ -385,9 +385,7 @@ end
|
|||||||
|
|
||||||
|
|
||||||
function TargetOfTarget.prototype:CreateToTFrame()
|
function TargetOfTarget.prototype:CreateToTFrame()
|
||||||
if not self.frame.totName then
|
self.frame.totName = self:FontFactory(self.moduleSettings.fontSize, self.frame.bar, self.frame.totName)
|
||||||
self.frame.totName = self:FontFactory(self.moduleSettings.fontSize, self.frame.bar, self.frame.totName)
|
|
||||||
end
|
|
||||||
|
|
||||||
self.frame.totName:SetHeight(self.height)
|
self.frame.totName:SetHeight(self.height)
|
||||||
self.frame.totName:SetJustifyH("LEFT")
|
self.frame.totName:SetJustifyH("LEFT")
|
||||||
@ -399,9 +397,7 @@ end
|
|||||||
|
|
||||||
|
|
||||||
function TargetOfTarget.prototype:CreateToTHPFrame()
|
function TargetOfTarget.prototype:CreateToTHPFrame()
|
||||||
if not self.frame.totHealth then
|
self.frame.totHealth = self:FontFactory(self.moduleSettings.fontSize, self.frame.bar, self.frame.totHealth)
|
||||||
self.frame.totHealth = self:FontFactory(self.moduleSettings.fontSize, self.frame.bar, self.frame.totHealth)
|
|
||||||
end
|
|
||||||
|
|
||||||
self.frame.totHealth:SetHeight(self.height)
|
self.frame.totHealth:SetHeight(self.height)
|
||||||
self.frame.totHealth:SetJustifyH("RIGHT")
|
self.frame.totHealth:SetJustifyH("RIGHT")
|
||||||
|
Reference in New Issue
Block a user