mirror of
https://github.com/photonstorm/phaser
synced 2024-11-14 00:47:29 +00:00
Move resetCursor so it does not lose input Fix #6387
This commit is contained in:
parent
7ed40fdf7d
commit
d35e69ce25
1 changed files with 1 additions and 2 deletions
|
@ -784,6 +784,7 @@ var InputPlugin = new Class({
|
|||
if (input)
|
||||
{
|
||||
this.removeDebug(gameObject);
|
||||
this.manager.resetCursor(input);
|
||||
|
||||
input.gameObject = undefined;
|
||||
input.target = undefined;
|
||||
|
@ -851,8 +852,6 @@ var InputPlugin = new Class({
|
|||
if (index > -1)
|
||||
{
|
||||
over[i].splice(index, 1);
|
||||
|
||||
manager.resetCursor(input);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue