Skip to content

Commit f97ce72

Browse files
committed
Added the Mask compontent to Container. It worked without it, but this brings it in-line with the documentation and other Game Objects. Fix phaserjs#3797
1 parent 39c3866 commit f97ce72

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ There is a third game config property called `pixelArt`. If set to `true` it's t
6363
* If the Blitter object has no Bob's to render it will now abort immediately, avoiding several context calls in Canvas mode.
6464
* `Scene.run` will now pass the optional `data` object in all cases, no matter if it's waking, resuming or starting a Scene (thanks @rook2pawn)
6565
* `ScenePlugin.start` and `ScenePlugin.restart` will now always queue the op with the Scene Manager, regardless of the state of the Scene, in order to avoid issues where plugins carry on running for a frame before closing down. Fix #3776 (thanks @jjalonso)
66-
* The `batchTileSprite` method has been removed from the `TextureTintPipeline` class, because it is now handled internally bu the Tile Sprite object itself.
66+
* The `batchTileSprite` method has been removed from the `TextureTintPipeline` class, because it is now handled internally by the Tile Sprite object itself.
6767

6868
### Bug Fixes
6969

@@ -81,6 +81,7 @@ There is a third game config property called `pixelArt`. If set to `true` it's t
8181
* TileSprite was using the Size compontent instead of ComputedSize, meaning its `getBounds` and `displayWidth` and `displayHeight` results were incorrect. Fix #3789 (thanks @jjalonso)
8282
* ArrayUtils.AddAt didn't calculate the array offset correctly if you passed an array in to be merged with an existing array. This also caused Container.addAt to fail if an array was passed to it. Fix #3788 (thanks @jjalonso)
8383
* The `Pointer.camera` property would only be set if there was a viable Game Object in the camera view. Now it is set regardless, to always be the Camera the Pointer interacted with.
84+
* Added the Mask compontent to Container. It worked without it, but this brings it in-line with the documentation and other Game Objects. Fix #3797 (thanks @zilbuz)
8485

8586
### Examples, Documentation and TypeScript
8687

src/gameobjects/container/Container.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ var Container = new Class({
7979
Components.BlendMode,
8080
Components.ComputedSize,
8181
Components.Depth,
82+
Components.Mask,
8283
Components.ScrollFactor,
8384
Components.Transform,
8485
Components.Visible,

0 commit comments

Comments
 (0)