UI: [ci skip] Make cheat window larger by default
This commit is contained in:
parent
7085bafa60
commit
502ce98b3a
@ -9,7 +9,7 @@ namespace Ryujinx.Ava.UI.Models
|
|||||||
{
|
{
|
||||||
private bool _isEnabled = false;
|
private bool _isEnabled = false;
|
||||||
public ObservableCollection<CheatNode> SubNodes { get; } = [];
|
public ObservableCollection<CheatNode> SubNodes { get; } = [];
|
||||||
public string CleanName => Name[1..^7];
|
public string CleanName => Name.Length > 0 ? Name[1..^7] : Name;
|
||||||
public string BuildIdKey => $"{BuildId}-{Name}";
|
public string BuildIdKey => $"{BuildId}-{Name}";
|
||||||
public bool IsRootNode { get; }
|
public bool IsRootNode { get; }
|
||||||
public string Name { get; }
|
public string Name { get; }
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
xmlns:ext="clr-namespace:Ryujinx.Ava.Common.Markup"
|
xmlns:ext="clr-namespace:Ryujinx.Ava.Common.Markup"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:window="clr-namespace:Ryujinx.Ava.UI.Windows"
|
xmlns:window="clr-namespace:Ryujinx.Ava.UI.Windows"
|
||||||
Width="500"
|
Width="600"
|
||||||
Height="500"
|
Height="750"
|
||||||
MinWidth="500"
|
MinWidth="500"
|
||||||
MinHeight="500"
|
MinHeight="500"
|
||||||
x:DataType="window:CheatWindow"
|
x:DataType="window:CheatWindow"
|
||||||
|
@ -34,6 +34,9 @@ namespace Ryujinx.Ava.UI.Windows
|
|||||||
|
|
||||||
public CheatWindow(VirtualFileSystem virtualFileSystem, string titleId, string titleName, string titlePath)
|
public CheatWindow(VirtualFileSystem virtualFileSystem, string titleId, string titleName, string titlePath)
|
||||||
{
|
{
|
||||||
|
MinWidth = 500;
|
||||||
|
MinHeight = 650;
|
||||||
|
|
||||||
LoadedCheats = [];
|
LoadedCheats = [];
|
||||||
IntegrityCheckLevel checkLevel = ConfigurationState.Instance.System.EnableFsIntegrityChecks
|
IntegrityCheckLevel checkLevel = ConfigurationState.Instance.System.EnableFsIntegrityChecks
|
||||||
? IntegrityCheckLevel.ErrorOnInvalid
|
? IntegrityCheckLevel.ErrorOnInvalid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user