mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
SharedMedia <3
This commit is contained in:
@ -39,7 +39,6 @@ function IceBarElement.prototype:GetDefaultSettings()
|
||||
settings["side"] = IceCore.Side.Left
|
||||
settings["offset"] = 1
|
||||
settings["barFontSize"] = 12
|
||||
settings["barFontBold"] = true
|
||||
settings["lockTextAlpha"] = true
|
||||
settings["textVisible"] = {upper = true, lower = true}
|
||||
settings["brackets"] = true
|
||||
@ -127,20 +126,6 @@ function IceBarElement.prototype:GetOptions()
|
||||
order = 11
|
||||
},
|
||||
|
||||
fontBold = {
|
||||
type = 'toggle',
|
||||
name = 'Bar Font Bold',
|
||||
desc = 'If you have game default font selected, this option has no effect',
|
||||
get = function()
|
||||
return self.moduleSettings.barFontBold
|
||||
end,
|
||||
set = function(v)
|
||||
self.moduleSettings.barFontBold = v
|
||||
self:Redraw()
|
||||
end,
|
||||
order = 12
|
||||
},
|
||||
|
||||
lockFontAlpha = {
|
||||
type = "toggle",
|
||||
name = "Lock Bar Text Alpha",
|
||||
@ -311,8 +296,8 @@ end
|
||||
|
||||
|
||||
function IceBarElement.prototype:CreateTexts()
|
||||
self.frame.bottomUpperText = self:FontFactory(self.moduleSettings.barFontBold, self.moduleSettings.barFontSize, nil, self.frame.bottomUpperText)
|
||||
self.frame.bottomLowerText = self:FontFactory(self.moduleSettings.barFontBold, self.moduleSettings.barFontSize, nil, self.frame.bottomLowerText)
|
||||
self.frame.bottomUpperText = self:FontFactory(self.moduleSettings.barFontSize, nil, self.frame.bottomUpperText)
|
||||
self.frame.bottomLowerText = self:FontFactory(self.moduleSettings.barFontSize, nil, self.frame.bottomLowerText)
|
||||
|
||||
self.frame.bottomUpperText:SetWidth(80)
|
||||
self.frame.bottomLowerText:SetWidth(120)
|
||||
|
Reference in New Issue
Block a user