mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix cursor behaviour when skipping backwards
This commit is contained in:
parent
cdc37493c2
commit
6a10c96e02
|
@ -170,6 +170,8 @@ bool CChat::OnInput(IInput::CEvent Event)
|
|||
(m_Input.GetString()[next] >= 91 && m_Input.GetString()[next] <= 96) )
|
||||
{
|
||||
FoundAt = i;
|
||||
if(SearchDirection < 0)
|
||||
FoundAt++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue