mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-09 04:09:12 +00:00
patch gtk, small code cleanup
This commit is contained in:
parent
7761382740
commit
1b0fe01cae
4 changed files with 3 additions and 10 deletions
|
@ -215,6 +215,8 @@ namespace Ryujinx.UI
|
|||
_startFullScreen.Active = true;
|
||||
}
|
||||
|
||||
ConfigurationState.Instance.UI.UseSystemGameFolders.Value = false;
|
||||
|
||||
_showConsole.Active = ConfigurationState.Instance.UI.ShowConsole.Value;
|
||||
_showConsole.Visible = ConsoleHelper.SetConsoleWindowStateSupported;
|
||||
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Ryujinx.Ava.UI.Helpers
|
|||
{
|
||||
List,
|
||||
Grid,
|
||||
Back,
|
||||
Chip,
|
||||
Folder,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,9 +13,7 @@ namespace Ryujinx.Ava.UI.Helpers
|
|||
{
|
||||
{ Glyph.List, char.ConvertFromUtf32((int)Symbol.List) },
|
||||
{ Glyph.Grid, char.ConvertFromUtf32((int)Symbol.ViewAll) },
|
||||
{ Glyph.Back, char.ConvertFromUtf32((int)Symbol.Back) },
|
||||
{ Glyph.Chip, char.ConvertFromUtf32(59748) },
|
||||
{ Glyph.Folder, char.ConvertFromUtf32(61739) },
|
||||
};
|
||||
|
||||
public GlyphValueConverter(string key)
|
||||
|
|
|
@ -26,12 +26,7 @@
|
|||
Command="{Binding NavigateBack}"
|
||||
IsVisible="{Binding FoldersEnabled}"
|
||||
IsEnabled="{Binding IsInFolder}">
|
||||
<ui:FontIcon
|
||||
Margin="0"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Center"
|
||||
FontFamily="avares://FluentAvalonia/Fonts#Symbols"
|
||||
Glyph="{helpers:GlyphValueConverter Back}" />
|
||||
<ui:SymbolIcon Symbol="Back" />
|
||||
</Button>
|
||||
<Button
|
||||
Width="40"
|
||||
|
|
Loading…
Reference in a new issue