speedup BizBox (About dialog) load

This commit is contained in:
Morilli 2025-03-26 19:23:25 +01:00
parent 289c5cff9b
commit b88c557b46
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,8 @@ namespace BizHawk.Client.EmuHawk
VersionLabel.Text = VersionInfo.GetFullVersionDetails();
DateLabel.Text = VersionInfo.ReleaseDate;
(linkLabel2.Text, linkLabel2.Tag) = VersionInfo.GetGitCommitLink();
CoreInfoPanel.SuspendLayout();
foreach (var core in CoreInventory.Instance.SystemsFlat
.OrderBy(static core => core.CoreAttr.Released)
.ThenByDescending(static core => core.Name, StringComparer.OrdinalIgnoreCase))
@ -45,6 +47,7 @@ namespace BizHawk.Client.EmuHawk
Dock = DockStyle.Top
});
}
CoreInfoPanel.ResumeLayout();
}
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)