From b88c557b461f1e841ef8bfd16129bdefba7afd02 Mon Sep 17 00:00:00 2001 From: Morilli <35152647+Morilli@users.noreply.github.com> Date: Wed, 26 Mar 2025 19:23:25 +0100 Subject: [PATCH] speedup BizBox (About dialog) load --- src/BizHawk.Client.EmuHawk/BizBox.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/BizHawk.Client.EmuHawk/BizBox.cs b/src/BizHawk.Client.EmuHawk/BizBox.cs index 230b59aa1f..f883316afc 100644 --- a/src/BizHawk.Client.EmuHawk/BizBox.cs +++ b/src/BizHawk.Client.EmuHawk/BizBox.cs @@ -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)