code cleaning

This commit is contained in:
Vova 2025-02-07 23:37:35 +10:00
parent 3a8e6e3117
commit fa463c51f8
3 changed files with 3 additions and 9 deletions

View File

@ -10,7 +10,6 @@ using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Threading; using System.Threading;
using VSyncMode = Ryujinx.Common.Configuration.VSyncMode;
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{ {

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<RuntimeIdentifiers>win-x64;osx-x64;linux-x64</RuntimeIdentifiers> <RuntimeIdentifiers>win-x64;osx-x64;linux-x64</RuntimeIdentifiers>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
@ -172,10 +172,5 @@
<ItemGroup> <ItemGroup>
<Folder Include="Assets\Fonts\Mono\" /> <Folder Include="Assets\Fonts\Mono\" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Compile Update="UI\Windows\UserConfigWindows.axaml.cs">
<DependentUpon>UserConfigWindows.axaml</DependentUpon>
</Compile>
</ItemGroup>
</Project> </Project>

View File

@ -74,8 +74,8 @@ namespace Ryujinx.Ava.UI.Windows
switch (navItem.Tag.ToString()) switch (navItem.Tag.ToString())
{ {
case nameof(InputPage): case nameof(InputPage):
NavPanel.Content = InputPage; NavPanel.Content = InputPage;
break; break;
case nameof(SystemPage): case nameof(SystemPage):
SystemPage.ViewModel = ViewModel; SystemPage.ViewModel = ViewModel;
NavPanel.Content = SystemPage; NavPanel.Content = SystemPage;