diff --git a/CHANGELOG-v3.50.md b/CHANGELOG-v3.50.md index 410e5914c9..4dfabb7805 100644 --- a/CHANGELOG-v3.50.md +++ b/CHANGELOG-v3.50.md @@ -1,3 +1,7 @@ +## Version 3.53.1 - Anastasia - 8th March 2021 + +* Fixed an issue where Container children were not removed from the display list properly. + ## Version 3.53.0 - Anastasia - 8th March 2021 ### New Features diff --git a/README.md b/README.md index 11500c0ed5..23511796f6 100644 --- a/README.md +++ b/README.md @@ -110,13 +110,13 @@ npm install phaser [Phaser is on jsDelivr](https://www.jsdelivr.com/package/npm/phaser) which is a "super-fast CDN for developers". Include the following in your html: ```html - + ``` or the minified version: ```html - + ``` ### API Documentation @@ -188,7 +188,7 @@ Create an `index.html` page locally and paste the following code into it:
- + @@ -342,8 +342,8 @@ All rights reserved. "Above all, video games are meant to be just one thing: fun. Fun for everyone." - Satoru Iwata -[get-js]: https://github.com/photonstorm/phaser/releases/download/v3.53.0/phaser.js -[get-minjs]: https://github.com/photonstorm/phaser/releases/download/v3.53.0/phaser.min.js +[get-js]: https://github.com/photonstorm/phaser/releases/download/v3.53.1/phaser.js +[get-minjs]: https://github.com/photonstorm/phaser/releases/download/v3.53.1/phaser.min.js [clone-http]: https://github.com/photonstorm/phaser.git [clone-ssh]: git@github.com:photonstorm/phaser.git [clone-ghwin]: github-windows://openRepo/https://github.com/photonstorm/phaser diff --git a/dist/phaser-arcade-physics.js b/dist/phaser-arcade-physics.js index 7b135ceebd..a4276d5c1e 100644 --- a/dist/phaser-arcade-physics.js +++ b/dist/phaser-arcade-physics.js @@ -7026,7 +7026,7 @@ var CONST = { * @type {string} * @since 3.0.0 */ - VERSION: '3.53.0', + VERSION: '3.53.1', BlendModes: __webpack_require__(35), @@ -46440,10 +46440,6 @@ var Container = new Class({ gameObject.parentContainer.remove(gameObject); } - var displayList = this.displayList || this.scene.sys.displayList; - - gameObject.addToDisplayList(displayList); - gameObject.parentContainer = this; } }, @@ -46463,8 +46459,6 @@ var Container = new Class({ if (this.exclusive) { - gameObject.removeFromDisplayList(); - gameObject.parentContainer = null; gameObject.addToDisplayList(); diff --git a/dist/phaser-arcade-physics.min.js b/dist/phaser-arcade-physics.min.js index e26077e35a..b377fd18c9 100644 --- a/dist/phaser-arcade-physics.min.js +++ b/dist/phaser-arcade-physics.min.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Phaser",[],e):"object"==typeof exports?exports.Phaser=e():t.Phaser=e()}(this,function(){return n={},s.m=i=[function(t,e){function r(t,e,i,n){for(var s in e)if(e.hasOwnProperty(s)){var r=(u=e,l=s,f=d=void 0,f=(c=i)?u[l]:Object.getOwnPropertyDescriptor(u,l),!c&&f.value&&"object"==typeof f.value&&(f=f.value),!(!f||!((d=f).get&&"function"==typeof d.get||d.set&&"function"==typeof d.set))&&(void 0===f.enumerable&&(f.enumerable=!0),void 0===f.configurable&&(f.configurable=!0),f));if(!1!==r){if(o=(n||t).prototype,a=s,h=void 0,(h=Object.getOwnPropertyDescriptor(o,a))&&(h.value&&"object"==typeof h.value&&(h=h.value),!1===h.configurable)){if(p.ignoreFinals)continue;throw new Error("cannot override final property '"+s+"', set Class.ignoreFinals = true to skip")}Object.defineProperty(t.prototype,s,r)}else t.prototype[s]=e[s]}var o,a,h,u,l,c,d,f}function o(t,e){if(e){Array.isArray(e)||(e=[e]);for(var i=0;i