Skip to content

Commit

Permalink
fix: style missing from panels inside a ConVarEnabler
Browse files Browse the repository at this point in the history
  • Loading branch information
wertiop121 authored and tsa96 committed Jul 28, 2024
1 parent 97b6342 commit ed70c78
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/pages/settings/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,6 @@ class MainMenuSettings {
if (this.isSettingsPanel(child) || child.HasClass('settings-group__combo')) {
this.styleItem(child, n);
n++;
}
// Otherwise if it's a ConVarEnabler search all its children
else if (child.paneltype === 'ConVarEnabler') {
for (const grandchild of child.Children()) search(grandchild);
} else {
search(child);
}
Expand Down

0 comments on commit ed70c78

Please sign in to comment.