We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 695de5f commit 1f8d0c8Copy full SHA for 1f8d0c8
1 file changed
src/input/InputPlugin.js
@@ -366,18 +366,18 @@ var InputPlugin = new Class({
366
this._draggable.splice(index, 1);
367
}
368
369
- index = this._drag.indexOf(gameObject);
+ index = this._drag[0].indexOf(gameObject);
370
371
if (index > -1)
372
{
373
- this._drag.splice(index, 1);
+ this._drag[0].splice(index, 1);
374
375
376
- index = this._over.indexOf(gameObject);
+ index = this._over[0].indexOf(gameObject);
377
378
379
380
- this._over.splice(index, 1);
+ this._over[0].splice(index, 1);
381
382
383
return gameObject;
0 commit comments