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
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ protected override bool OnKeyDown(KeyDownEvent e)
public bool OnPressed(GlobalAction action)
{
if (!HasFocus) return false;
if (action == GlobalAction.Back)
{
if (Text.Length > 0)