mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-13 13:37:08 +00:00
UI: [ci skip] Make cheat window larger by default
This commit is contained in:
parent
01cd935cc3
commit
2e40b436aa
3 changed files with 6 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ namespace Ryujinx.Ava.UI.Models
|
|||
{
|
||||
private bool _isEnabled = false;
|
||||
public ObservableCollection<CheatNode> SubNodes { get; } = new();
|
||||
public string CleanName => Name[1..^7];
|
||||
public string CleanName => Name.Length > 0 ? Name[1..^7] : Name;
|
||||
public string BuildIdKey => $"{BuildId}-{Name}";
|
||||
public bool IsRootNode { get; }
|
||||
public string Name { get; }
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:model="clr-namespace:Ryujinx.Ava.UI.Models"
|
||||
xmlns:window="clr-namespace:Ryujinx.Ava.UI.Windows"
|
||||
Width="500"
|
||||
Height="500"
|
||||
Width="600"
|
||||
Height="750"
|
||||
MinWidth="500"
|
||||
MinHeight="500"
|
||||
x:DataType="window:CheatWindow"
|
||||
|
|
|
|||
|
|
@ -35,6 +35,9 @@ namespace Ryujinx.Ava.UI.Windows
|
|||
|
||||
public CheatWindow(VirtualFileSystem virtualFileSystem, string titleId, string titleName, string titlePath)
|
||||
{
|
||||
MinWidth = 500;
|
||||
MinHeight = 650;
|
||||
|
||||
LoadedCheats = new AvaloniaList<CheatNode>();
|
||||
IntegrityCheckLevel checkLevel = ConfigurationState.Instance.System.EnableFsIntegrityChecks
|
||||
? IntegrityCheckLevel.ErrorOnInvalid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue