Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Mnemo.UI/Components/Overlays/PerfDiagnosticsOverlay.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ namespace Mnemo.UI.Components.Overlays;

public partial class PerfDiagnosticsOverlay : UserControl
{
private readonly IPerfDiagnostics _perf;
private readonly IPerfDiagnostics? _perf;

public PerfDiagnosticsOverlay()
{
InitializeComponent();
}

public PerfDiagnosticsOverlay(IPerfDiagnostics perf)
{
Expand Down
2 changes: 2 additions & 0 deletions Mnemo.UI/Mnemo.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@
<_LibWinArm64>$([System.IO.Path]::Combine('$(PublishDir)', 'lib', 'windows', 'arm64'))</_LibWinArm64>
<_LibMacArm64>$([System.IO.Path]::Combine('$(PublishDir)', 'lib', 'mac', 'arm64'))</_LibMacArm64>
<_LibMacX64>$([System.IO.Path]::Combine('$(PublishDir)', 'lib', 'mac', 'x86_64'))</_LibMacX64>
<IncludeNativeLibrariesForSelfContained>true</IncludeNativeLibrariesForSelfContained>
<PublishingSingleFile>false</PublishingSingleFile>
</PropertyGroup>
<ItemGroup Condition="'$(_Rid)' != '' and Exists('$(_RtDir)')">
<_RuntimeSubdir Include="$([System.IO.Directory]::GetDirectories('$(_RtDir)'))" />
Expand Down