1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:32:55 +08:00

Fix focused textbox absorbing input when unfocused

This commit is contained in:
Joehu 2020-07-20 11:52:02 -07:00
parent 89d04f797f
commit f71ed47e66

View File

@ -67,6 +67,8 @@ namespace osu.Game.Graphics.UserInterface
public bool OnPressed(GlobalAction action)
{
if (!HasFocus) return false;
if (action == GlobalAction.Back)
{
if (Text.Length > 0)