Skip to content

Commit 57c2ccb

Browse files
committed
Formatting fix and doc update
1 parent 37f75fd commit 57c2ccb

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
* The `dragend` event would be broadcast even if the drag distance or drag time thresholds were not met. Fix #3686 (thanks @RollinSafary)
4242
* Restarting a Tween immediately after creating it, without it having first started, would cause it to get stuck permanently in the Tween Managers add queue (thanks @Antriel @zacharysarette)
4343
* Setting an existing Game Object as a static Arcade Physics body would sometimes incorrectly pick-up the dimensions of the object, such as with TileSprites. Fix #3690 (thanks @fariazz)
44+
* Interactive Objects were not fully removed from the Input Plugin when cleared, causing the internal _list array to grow. Fix #3645 (thanks @tjb295 for the fix and @rexrainbow for the issue)
4445

4546
Changes the checks for Camera.cull to give only the game objects in the camera's view instead of all game objects
4647

src/input/InputPlugin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,12 +388,13 @@ var InputPlugin = new Class({
388388
var input = gameObject.input;
389389

390390
// If GameObject.input already cleared from higher class
391-
if(!input)
391+
if (!input)
392392
{
393393
return;
394394
}
395395

396396
this.queueForRemoval(gameObject);
397+
397398
input.gameObject = undefined;
398399
input.target = undefined;
399400
input.hitArea = undefined;

0 commit comments

Comments
 (0)