Replace ALL shorthand ifs
This commit is contained in:
parent
434296966e
commit
2319fe1b56
@ -833,7 +833,7 @@ namespace Ryujinx.UI.Common.Configuration
|
||||
ShowConfirmExit.Value = true;
|
||||
IgnoreApplet.Value = false;
|
||||
RememberWindowState.Value = true;
|
||||
ShowTitleBar.Value = (OperatingSystem.IsWindows()) ? false : true;
|
||||
ShowTitleBar.Value = !OperatingSystem.IsWindows();
|
||||
EnableHardwareAcceleration.Value = true;
|
||||
HideCursor.Value = HideCursorMode.OnIdle;
|
||||
Graphics.EnableVsync.Value = true;
|
||||
|
@ -32,7 +32,7 @@ namespace Ryujinx.Ava.UI.Views.Main
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
RyuLogo.IsVisible = (ConfigurationState.Instance.ShowTitleBar) ? false : true;
|
||||
RyuLogo.IsVisible = !ConfigurationState.Instance.ShowTitleBar;
|
||||
|
||||
ToggleFileTypesMenuItem.ItemsSource = GenerateToggleFileTypeItems();
|
||||
ChangeLanguageMenuItem.ItemsSource = GenerateLanguageMenuItems();
|
||||
|
Loading…
x
Reference in New Issue
Block a user