Skip to content

Commit aa9ba84

Browse files
authored
Merge pull request phaserjs#3741 from TadejZupancic/patch-5
Zone inside a Container fix
2 parents b4ddd44 + 3c96ca7 commit aa9ba84

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/gameobjects/zone/Zone.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,18 @@ var Zone = new Class({
256256
return this;
257257
},
258258

259+
/**
260+
* A NOOP method so you can pass a Zone to a Container.
261+
* Calling this method will do nothing. It is intentionally empty.
262+
*
263+
* @method Phaser.GameObjects.Zone#setAlpha
264+
* @private
265+
* @since 3.10.0
266+
*/
267+
setAlpha: function ()
268+
{
269+
},
270+
259271
/**
260272
* A Zone does not render.
261273
*

0 commit comments

Comments
 (0)