mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-09 12:19: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;
|
_startFullScreen.Active = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ConfigurationState.Instance.UI.UseSystemGameFolders.Value = false;
|
||||||
|
|
||||||
_showConsole.Active = ConfigurationState.Instance.UI.ShowConsole.Value;
|
_showConsole.Active = ConfigurationState.Instance.UI.ShowConsole.Value;
|
||||||
_showConsole.Visible = ConsoleHelper.SetConsoleWindowStateSupported;
|
_showConsole.Visible = ConsoleHelper.SetConsoleWindowStateSupported;
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,6 @@ namespace Ryujinx.Ava.UI.Helpers
|
||||||
{
|
{
|
||||||
List,
|
List,
|
||||||
Grid,
|
Grid,
|
||||||
Back,
|
|
||||||
Chip,
|
Chip,
|
||||||
Folder,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,9 +13,7 @@ namespace Ryujinx.Ava.UI.Helpers
|
||||||
{
|
{
|
||||||
{ Glyph.List, char.ConvertFromUtf32((int)Symbol.List) },
|
{ Glyph.List, char.ConvertFromUtf32((int)Symbol.List) },
|
||||||
{ Glyph.Grid, char.ConvertFromUtf32((int)Symbol.ViewAll) },
|
{ Glyph.Grid, char.ConvertFromUtf32((int)Symbol.ViewAll) },
|
||||||
{ Glyph.Back, char.ConvertFromUtf32((int)Symbol.Back) },
|
|
||||||
{ Glyph.Chip, char.ConvertFromUtf32(59748) },
|
{ Glyph.Chip, char.ConvertFromUtf32(59748) },
|
||||||
{ Glyph.Folder, char.ConvertFromUtf32(61739) },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
public GlyphValueConverter(string key)
|
public GlyphValueConverter(string key)
|
||||||
|
|
|
@ -26,12 +26,7 @@
|
||||||
Command="{Binding NavigateBack}"
|
Command="{Binding NavigateBack}"
|
||||||
IsVisible="{Binding FoldersEnabled}"
|
IsVisible="{Binding FoldersEnabled}"
|
||||||
IsEnabled="{Binding IsInFolder}">
|
IsEnabled="{Binding IsInFolder}">
|
||||||
<ui:FontIcon
|
<ui:SymbolIcon Symbol="Back" />
|
||||||
Margin="0"
|
|
||||||
HorizontalAlignment="Stretch"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
FontFamily="avares://FluentAvalonia/Fonts#Symbols"
|
|
||||||
Glyph="{helpers:GlyphValueConverter Back}" />
|
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
Width="40"
|
Width="40"
|
||||||
|
|
Loading…
Reference in a new issue