Skip to content

Commit

Permalink
Full fix of partially working text input
Browse files Browse the repository at this point in the history
Previous fix related to this: 6a26c88
  • Loading branch information
Xottab-DUTY committed Jun 30, 2019
1 parent 98e27bc commit 5d31639
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/xrUICore/EditBox/UICustomEdit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ void CUICustomEdit::SendMessage(CUIWindow* pWnd, s16 msg, void* pData)
m_bInputFocus = false;
GetMessageTarget()->SendMessage(this, EDIT_TEXT_COMMIT, NULL);
}
else if (msg == WINDOW_FOCUS_RECEIVED)
ec().on_ir_capture();
else if (msg == WINDOW_FOCUS_LOST)
ec().on_ir_release();
}

bool CUICustomEdit::OnMouseAction(float x, float y, EUIMessages mouse_action)
Expand Down

0 comments on commit 5d31639

Please sign in to comment.