Added option to set idle time before cursor is hidden (Ryujinx#4390)
In SettingsWindow.cs and SettingsWindow.glade: Replaced Always/On Idle/Never radio buttons with a dropdown (combo box). When selecting "On Idle", a "Seconds" label and numeric text box (spinner) appear. The spinner is limited 1-10. In ConfigurationFileFormat.cs and ConfigurationState.cs, and SettingsViewModel.cs: Load the saved value, or default 5 seconds if no value exists. Save the custom set value to the config file. In SettingsViewModel.cs: Catch when the idle time setting is changed while a game is running, and change the value live.
This commit is contained in:
parent
28c4d80865
commit
43346cb269
1 changed files with 828 additions and 3221 deletions
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue