Fix the changelog window being very laggy until a tab is clicked (#27795)
This commit is contained in:
parent
caa822b9a0
commit
15153d95a4
1 changed files with 0 additions and 2 deletions
|
|
@ -87,14 +87,12 @@ namespace Content.Client.Changelog
|
|||
if (!tab.AdminOnly || isAdmin)
|
||||
{
|
||||
Tabs.SetTabVisible(i, true);
|
||||
tab.Visible = true;
|
||||
visibleTabs++;
|
||||
firstVisible ??= i;
|
||||
}
|
||||
else
|
||||
{
|
||||
Tabs.SetTabVisible(i, false);
|
||||
tab.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue