Skip to content

Commit

Permalink
UI: Fix logo aliasing
Browse files Browse the repository at this point in the history
  • Loading branch information
GreemDev committed Dec 19, 2024
1 parent 7363858 commit f07a973
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/Ryujinx.UI.Common/Ryujinx.UI.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down
2 changes: 1 addition & 1 deletion src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public class MainWindowViewModel : BaseModel
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; }

Expand Down
10 changes: 5 additions & 5 deletions src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}">
Expand Down

0 comments on commit f07a973

Please sign in to comment.