mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 14:38:30 +00:00
Skip drag checking on a draging Game Object
Skip drag checking on a draging Game Object to prevent multi-drag issue.
This commit is contained in:
parent
a480232d87
commit
821504a893
1 changed files with 1 additions and 1 deletions
|
@ -803,7 +803,7 @@ var InputPlugin = new Class({
|
|||
{
|
||||
gameObject = currentlyOver[i];
|
||||
|
||||
if (gameObject.input.draggable)
|
||||
if (gameObject.input.draggable && (gameObject.input.dragState === 0))
|
||||
{
|
||||
draglist.push(gameObject);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue