mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-12 07:36:59 +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
2 changed files with 4 additions and 4 deletions
|
|
@ -23,8 +23,8 @@
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
WindowStartupLocation="Manual"
|
WindowStartupLocation="Manual"
|
||||||
Focusable="True"
|
Focusable="True"
|
||||||
GotFocus="InputElement_OnGotFocus"
|
GotFocus="AppWindow_OnGotFocus"
|
||||||
LostFocus="InputElement_OnLostFocus">
|
LostFocus="AppWindow_OnLostFocus">
|
||||||
<Window.Styles>
|
<Window.Styles>
|
||||||
<Style Selector="TitleBar:fullscreen">
|
<Style Selector="TitleBar:fullscreen">
|
||||||
<Setter Property="Background" Value="#000000" />
|
<Setter Property="Background" Value="#000000" />
|
||||||
|
|
|
||||||
|
|
@ -771,7 +771,7 @@ namespace Ryujinx.Ava.UI.Windows
|
||||||
_intelMacWarningShown = true;
|
_intelMacWarningShown = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void InputElement_OnGotFocus(object sender, GotFocusEventArgs e)
|
private void AppWindow_OnGotFocus(object sender, GotFocusEventArgs e)
|
||||||
{
|
{
|
||||||
if (ViewModel.AppHost is null)
|
if (ViewModel.AppHost is null)
|
||||||
return;
|
return;
|
||||||
|
|
@ -835,7 +835,7 @@ namespace Ryujinx.Ava.UI.Windows
|
||||||
|
|
||||||
private (FocusLostType Type, bool Active) _focusLoss;
|
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)
|
if (ConfigurationState.Instance.FocusLostActionType.Value is FocusLostType.DoNothing)
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue