Update src/Ryujinx/UI/Views/Settings/SettingsHotkeysView.axaml.cs
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
This commit is contained in:
parent
a73e0786f1
commit
368f0b928b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ namespace Ryujinx.Ava.UI.Views.Settings
|
|||
{
|
||||
base.OnPointerReleased(e);
|
||||
|
||||
if (_currentAssigner != null && _currentAssigner.ToggledButton != null && !_currentAssigner.ToggledButton.IsPointerOver)
|
||||
if (!_currentAssigner?.ToggledButton?.IsPointerOver ?? false)
|
||||
{
|
||||
_currentAssigner.Cancel();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue