This commit is contained in:
Morilli 2022-03-30 19:22:26 +02:00
parent e80e34ce65
commit 672ad1579b
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ namespace BizHawk.Client.EmuHawk
Type t = controlToClone.GetType();
var instance = (T) Activator.CreateInstance(t);
t.GetProperty("AutoSize")?.SetValue(instance, false, null);
t.GetProperty("AutoSize")?.SetMethod?.Invoke(instance, new object[] {false});
for (int i = 0; i < 3; i++) // why 3 passes of this? --yoshi
{