diff options
| author | MutantAura <44103205+MutantAura@users.noreply.github.com> | 2024-05-01 17:21:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-01 18:21:24 +0200 |
| commit | d0cc13ce0b2a149c3d19aa58a2f12ddc6cc0196f (patch) | |
| tree | 83eb9571151171ed2bf28830987bb319698020ee /src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs | |
| parent | 65c035cdf8093b2e303ded1dc7253f994570b115 (diff) | |
UI: Fix some MainWindow bugs and implement menubar items to change window size. (#6750)
* Do not save window dimensions when maximized.
* Implement option to disable window size/position memory.
* Remove logging statements
* Implement menubar items for common window sizes.
* formatting fixes
* Set 720p window as a composite value.
* Remove unused using
* Fix exception paramter.
* Force restore window when a size change is requested
* Fix some resizing bugs.
Diffstat (limited to 'src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs')
| -rw-r--r-- | src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs b/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs index 3387e1be..af3ad0a1 100644 --- a/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs +++ b/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs @@ -15,7 +15,7 @@ namespace Ryujinx.UI.Common.Configuration /// <summary> /// The current version of the file format /// </summary> - public const int CurrentVersion = 50; + public const int CurrentVersion = 51; /// <summary> /// Version of the configuration file format @@ -163,6 +163,11 @@ namespace Ryujinx.UI.Common.Configuration public bool ShowConfirmExit { get; set; } /// <summary> + /// Enables or disables save window size, position and state on close. + /// </summary> + public bool RememberWindowState { get; set; } + + /// <summary> /// Enables hardware-accelerated rendering for Avalonia /// </summary> public bool EnableHardwareAcceleration { get; set; } |
