mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 18:18:18 +00:00
More time for double click recognition (0.33 instead of 0.25 seconds) (fixes #17)
This commit is contained in:
parent
0071fbaf8d
commit
c9b4687cce
|
@ -98,7 +98,7 @@ void CInput::MouseModeRelative()
|
||||||
|
|
||||||
int CInput::MouseDoubleClick()
|
int CInput::MouseDoubleClick()
|
||||||
{
|
{
|
||||||
if(m_ReleaseDelta >= 0 && m_ReleaseDelta < (time_freq() >> 2))
|
if(m_ReleaseDelta >= 0 && m_ReleaseDelta < (time_freq() / 3))
|
||||||
{
|
{
|
||||||
m_LastRelease = 0;
|
m_LastRelease = 0;
|
||||||
m_ReleaseDelta = -1;
|
m_ReleaseDelta = -1;
|
||||||
|
|
Loading…
Reference in a new issue