Skip to content

Commit b94f655

Browse files
authored
Only needs to be cleared once.
No need for the duplicate clearing of this, and quick fix.
1 parent 8cd8b6f commit b94f655

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/input/InputPlugin.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ var InputPlugin = new Class({
14621462
}
14631463

14641464
// If pointerup is triggered, we have no need for pointerout.
1465-
this.this._over[pointer.id] = [];
1465+
this._over[pointer.id] = [];
14661466

14671467
gameObject.emit(Events.GAMEOBJECT_POINTER_UP, pointer, gameObject.input.localX, gameObject.input.localY, _eventContainer);
14681468

@@ -1492,8 +1492,6 @@ var InputPlugin = new Class({
14921492
{
14931493
this.emit(Events.POINTER_UP_OUTSIDE, pointer);
14941494
}
1495-
1496-
this.this._over[pointer.id] = [];
14971495
}
14981496

14991497
return currentlyOver.length;

0 commit comments

Comments
 (0)