Browse Source

UI: Fix logo aliasing

Evan Husted 1 year ago
parent
commit
8db5a7e98b

BIN
src/Ryujinx.UI.Common/Resources/Logo_Thiccjinx.png


+ 1 - 0
src/Ryujinx.UI.Common/Ryujinx.UI.Common.csproj

@@ -34,6 +34,7 @@
     <EmbeddedResource Include="Resources\Icon_XCI.png" />
     <EmbeddedResource Include="Resources\Logo_Amiibo.png" />
     <EmbeddedResource Include="Resources\Logo_Ryujinx.png" />
+    <EmbeddedResource Include="Resources\Logo_Thiccjinx.png" />
     <EmbeddedResource Include="Resources\Logo_Discord_Dark.png" />
     <EmbeddedResource Include="Resources\Logo_Discord_Light.png" />
     <EmbeddedResource Include="Resources\Logo_GitHub_Dark.png" />

+ 1 - 1
src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs

@@ -125,7 +125,7 @@ namespace Ryujinx.Ava.UI.ViewModels
         public IEnumerable<LdnGameData> LastLdnGameData;
 
         public static readonly Bitmap IconBitmap =
-            new(Assembly.GetAssembly(typeof(ConfigurationState))!.GetManifestResourceStream("Ryujinx.UI.Common.Resources.Logo_Ryujinx.png")!);
+            new(Assembly.GetAssembly(typeof(ConfigurationState))!.GetManifestResourceStream("Ryujinx.UI.Common.Resources.Logo_Thiccjinx.png")!);
 
         public MainWindow Window { get; init; }
 

+ 5 - 5
src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml

@@ -14,14 +14,14 @@
     <DockPanel HorizontalAlignment="Stretch">
         <Image
             Name="RyuLogo"
-            Margin="2, 1,-1, 0"
-            Height="36"
-            Width="36"
+            Margin="7, 0"
+            Height="25"
+            Width="25"
             ToolTip.Tip="{Binding Title}"
-            Source="resm:Ryujinx.UI.Common.Resources.Logo_Ryujinx.png?assembly=Ryujinx.UI.Common" />
+            Source="resm:Ryujinx.UI.Common.Resources.Logo_Thiccjinx.png?assembly=Ryujinx.UI.Common" />
         <Menu
             Name="Menu"
-            Height="35"
+            Height="32"
             Margin="0"
             HorizontalAlignment="Left"
             IsOpen="{Binding IsSubMenuOpen, Mode=OneWayToSource}">