Merge pull request #3767 from rexrainbow/master

Skip drag checking on a dragging Game Object
This commit is contained in:
Richard Davey 2018-06-19 11:45:59 +01:00 committed by GitHub
commit a7e5c4260c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}