From 417b4caa986b9217b43e8b7161c700791f277291 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Thu, 18 Apr 2024 18:04:47 -0400 Subject: [PATCH] Add buttons interactibility toggle --- src/Ryujinx/UI/ViewModels/SettingsViewModel.cs | 1 + src/Ryujinx/UI/Windows/SettingsWindow.axaml | 1 + src/Ryujinx/UI/Windows/SettingsWindow.axaml.cs | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs b/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs index 34c3af354..d1f553096 100644 --- a/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs +++ b/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs @@ -67,6 +67,7 @@ namespace Ryujinx.Ava.UI.ViewModels public event Action CloseWindow; public event Action SaveSettingsEvent; public event Action DirtyEvent; + public event Action ToggleButtons; public int ResolutionScale { diff --git a/src/Ryujinx/UI/Windows/SettingsWindow.axaml b/src/Ryujinx/UI/Windows/SettingsWindow.axaml index d3c863133..22ad6b64c 100644 --- a/src/Ryujinx/UI/Windows/SettingsWindow.axaml +++ b/src/Ryujinx/UI/Windows/SettingsWindow.axaml @@ -108,6 +108,7 @@