1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 04:09:54 +08:00

Merge pull request #9631 from Joehuu/fix-focused-textbox-absorbing-input-when-unfocused

Fix focused textbox absorbing input when unfocused
This commit is contained in:
Dan Balasescu
2020-07-21 14:47:32 +09:00
committed by GitHub
Unverified
@@ -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)