mirror of
https://github.com/osukey/osukey.git
synced 2025-05-09 15:47:38 +09:00
Bypass commit in SearchTextBox regardless of Shift and Ctrl.
This commit is contained in:
parent
a0c4fcdb4b
commit
ef2770b718
@ -42,10 +42,16 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
case Key.Up:
|
case Key.Up:
|
||||||
case Key.Down:
|
case Key.Down:
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!AllowCommit)
|
||||||
|
{
|
||||||
|
switch (args.Key)
|
||||||
|
{
|
||||||
case Key.KeypadEnter:
|
case Key.KeypadEnter:
|
||||||
case Key.Enter:
|
case Key.Enter:
|
||||||
if (!AllowCommit) return false;
|
return false;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user