Fix triple-click's accepted inter-click timing to match double-click's
This was SVN commit r9468.
This commit is contained in:
parent
cd7abda9f1
commit
f6ffe7f121
@ -743,6 +743,8 @@ function handleInputAfterGui(ev)
|
|||||||
// Select units matching exact template name (same rank)
|
// Select units matching exact template name (same rank)
|
||||||
templateToMatch = Engine.GuiInterfaceCall("GetEntityState", selectedEntity).template;
|
templateToMatch = Engine.GuiInterfaceCall("GetEntityState", selectedEntity).template;
|
||||||
doubleClicked = true;
|
doubleClicked = true;
|
||||||
|
// Reset the timer so the user has an extra period 'doubleClickTimer' to do a triple-click
|
||||||
|
doubleClickTimer = now.getTime();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user