Skip to content

Commit 821504a

Browse files
committed
Skip drag checking on a draging Game Object
Skip drag checking on a draging Game Object to prevent multi-drag issue.
1 parent a480232 commit 821504a

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)