mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Don't keep enabling input in menu all the time (fixes #706)
This commit is contained in:
parent
78dc5aa959
commit
9bf84fd4be
|
@ -1651,7 +1651,8 @@ int CMenus::Render()
|
|||
|
||||
void CMenus::SetActive(bool Active)
|
||||
{
|
||||
Input()->SetIMEState(Active);
|
||||
if(Active != m_MenuActive)
|
||||
Input()->SetIMEState(Active);
|
||||
m_MenuActive = Active;
|
||||
#if defined(__ANDROID__)
|
||||
UI()->AndroidShowScreenKeys(!m_MenuActive && !m_pClient->m_pControls->m_UsingGamepad);
|
||||
|
|
Loading…
Reference in a new issue