]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix the changelog window being very laggy until a tab is clicked (#27795)
authorDrSmugleaf <10968691+DrSmugleaf@users.noreply.github.com>
Wed, 8 May 2024 06:23:26 +0000 (23:23 -0700)
committerGitHub <noreply@github.com>
Wed, 8 May 2024 06:23:26 +0000 (23:23 -0700)
Content.Client/Changelog/ChangelogWindow.xaml.cs

index e5f492900c26b14d72757ef5932c548833790f65..9b7fd75436928b93790fc99370e442141ddeb756 100644 (file)
@@ -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;
                 }
             }