mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- made "config mode" only show bars that are currently enabled
- made combo points module show 5 combo points while in config mode - added horizontal offset to combo points module - added ability make combo points add vertically instead of horizontally (if in graphical mode)
This commit is contained in:
@ -426,12 +426,16 @@ function IceCore.prototype:ConfigModeToggle(bWantConfig)
|
||||
|
||||
if bWantConfig then
|
||||
for i = 1, table.getn(self.elements) do
|
||||
self.elements[i].frame:Show()
|
||||
if self.elements[i]:IsEnabled() then
|
||||
self.elements[i].frame:Show()
|
||||
self.elements[i]:Redraw()
|
||||
end
|
||||
end
|
||||
else
|
||||
for i = 1, table.getn(self.elements) do
|
||||
if not self.elements[i]:IsVisible() then
|
||||
self.elements[i].frame:Hide()
|
||||
self.elements[i]:Redraw()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user