.net 8 syntax/perf changes

This commit is contained in:
Asriel Camora
2024-03-15 01:28:58 -07:00
parent 836e983eb2
commit 94ea1f84de
20 changed files with 117 additions and 136 deletions
+3 -3
View File
@@ -92,8 +92,8 @@ public sealed unsafe class SynthHelper : Window, IDisposable
MaximumSize = new(494, 10000)
};
TitleBarButtons = new()
{
TitleBarButtons =
[
new()
{
Icon = FontAwesomeIcon.Cog,
@@ -101,7 +101,7 @@ public sealed unsafe class SynthHelper : Window, IDisposable
Click = _ => Service.Plugin.OpenSettingsWindow(),
ShowTooltip = () => ImGuiUtils.Tooltip("Open Craftimizer Settings")
}
};
];
Service.WindowSystem.AddWindow(this);
}