Skip to content

Commit 75f93f4

Browse files
committed
[#705] fixed a regression with me.ParticleContainer
1 parent 3fe0ea2 commit 75f93f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/particles/particlecontainer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222
init: function (emitter) {
2323
// cache a reference to the viewport to use as our bounding box
24-
this._bounds = me.game.viewport;
24+
this._viewport = me.game.viewport;
2525

2626
// call the super constructor
2727
this._super(me.Container, "init");
@@ -43,7 +43,7 @@
4343
* @ignore
4444
*/
4545
getBounds : function () {
46-
return this._bounds;
46+
return this._viewport;
4747
},
4848

4949
/**

0 commit comments

Comments
 (0)