Add option to show the old title bar (#101)

This commit is contained in:
Luke Warner 2024-10-30 03:22:22 -04:00 committed by GitHub
parent 9c94db1130
commit 5845787325
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 55 additions and 5 deletions

View file

@ -13,7 +13,7 @@
<viewModels:MainWindowViewModel />
</Design.DataContext>
<DockPanel HorizontalAlignment="Stretch">
<Border Padding="7, 0, 0, 0" VerticalAlignment="Center" HorizontalAlignment="Center">
<Border Name="RyuLogo" Padding="7, 0, 0, 0" VerticalAlignment="Center" HorizontalAlignment="Center">
<Image
ToolTip.Tip="{Binding Title}"
Height="25"

View file

@ -32,6 +32,8 @@ namespace Ryujinx.Ava.UI.Views.Main
{
InitializeComponent();
RyuLogo.IsVisible = !ConfigurationState.Instance.ShowTitleBar;
ToggleFileTypesMenuItem.ItemsSource = GenerateToggleFileTypeItems();
ChangeLanguageMenuItem.ItemsSource = GenerateLanguageMenuItems();
}