mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
Merge branch 'master' into fix-select-filter-not-absorbing-input
This commit is contained in:
@ -137,6 +137,8 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
public void Deactivate()
|
public void Deactivate()
|
||||||
{
|
{
|
||||||
|
searchTextBox.ReadOnly = true;
|
||||||
|
|
||||||
searchTextBox.HoldFocus = false;
|
searchTextBox.HoldFocus = false;
|
||||||
if (searchTextBox.HasFocus)
|
if (searchTextBox.HasFocus)
|
||||||
GetContainingInputManager().ChangeFocus(searchTextBox);
|
GetContainingInputManager().ChangeFocus(searchTextBox);
|
||||||
@ -144,6 +146,7 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
public void Activate()
|
public void Activate()
|
||||||
{
|
{
|
||||||
|
searchTextBox.ReadOnly = false;
|
||||||
searchTextBox.HoldFocus = true;
|
searchTextBox.HoldFocus = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,6 +56,7 @@ namespace osu.Game.Screens.Select
|
|||||||
switch (e.Key)
|
switch (e.Key)
|
||||||
{
|
{
|
||||||
case Key.Enter:
|
case Key.Enter:
|
||||||
|
case Key.KeypadEnter:
|
||||||
// this is a special hard-coded case; we can't rely on OnPressed (of SongSelect) as GlobalActionContainer is
|
// this is a special hard-coded case; we can't rely on OnPressed (of SongSelect) as GlobalActionContainer is
|
||||||
// matching with exact modifier consideration (so Ctrl+Enter would be ignored).
|
// matching with exact modifier consideration (so Ctrl+Enter would be ignored).
|
||||||
FinaliseSelection();
|
FinaliseSelection();
|
||||||
|
Reference in New Issue
Block a user