Skip to content

Commit a7e5c42

Browse files
authored
Merge pull request phaserjs#3767 from rexrainbow/master
Skip drag checking on a dragging Game Object
2 parents a480232 + 821504a commit a7e5c42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/input/InputPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ var InputPlugin = new Class({
803803
{
804804
gameObject = currentlyOver[i];
805805

806-
if (gameObject.input.draggable)
806+
if (gameObject.input.draggable && (gameObject.input.dragState === 0))
807807
{
808808
draglist.push(gameObject);
809809
}

0 commit comments

Comments
 (0)