More time for double click recognition (0.33 instead of 0.25 seconds) (fixes #17)

This commit is contained in:
def 2014-11-25 21:30:16 +01:00
parent 0071fbaf8d
commit c9b4687cce

View file

@ -98,7 +98,7 @@ void CInput::MouseModeRelative()
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_ReleaseDelta = -1;