mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-12-16 09:48:42 +00:00
chore: [ci skip] rename InputElement_OnGotFocus/OnLostFocus to fit what it's listening to better
This commit is contained in:
parent
17d5d6e65a
commit
58be57bf73
@ -23,8 +23,8 @@
|
||||
mc:Ignorable="d"
|
||||
WindowStartupLocation="Manual"
|
||||
Focusable="True"
|
||||
GotFocus="InputElement_OnGotFocus"
|
||||
LostFocus="InputElement_OnLostFocus">
|
||||
GotFocus="AppWindow_OnGotFocus"
|
||||
LostFocus="AppWindow_OnLostFocus">
|
||||
<Window.Styles>
|
||||
<Style Selector="TitleBar:fullscreen">
|
||||
<Setter Property="Background" Value="#000000" />
|
||||
|
||||
@ -771,7 +771,7 @@ namespace Ryujinx.Ava.UI.Windows
|
||||
_intelMacWarningShown = true;
|
||||
}
|
||||
|
||||
private void InputElement_OnGotFocus(object sender, GotFocusEventArgs e)
|
||||
private void AppWindow_OnGotFocus(object sender, GotFocusEventArgs e)
|
||||
{
|
||||
if (ViewModel.AppHost is null)
|
||||
return;
|
||||
@ -835,7 +835,7 @@ namespace Ryujinx.Ava.UI.Windows
|
||||
|
||||
private (FocusLostType Type, bool Active) _focusLoss;
|
||||
|
||||
private void InputElement_OnLostFocus(object sender, RoutedEventArgs e)
|
||||
private void AppWindow_OnLostFocus(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (ConfigurationState.Instance.FocusLostActionType.Value is FocusLostType.DoNothing)
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user