Skip to content

Commit 949d882

Browse files
committed
The Shape Game Object now uses the AlphaSingle component, allowing you to uniformly set the alpha of the shape, rather than a quad alpha, which never worked for Shape objects.
1 parent 695cb7e commit 949d882

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gameobjects/shape/Shape.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var Line = require('../../geom/line/Line');
2020
* @constructor
2121
* @since 3.13.0
2222
*
23-
* @extends Phaser.GameObjects.Components.Alpha
23+
* @extends Phaser.GameObjects.Components.AlphaSingle
2424
* @extends Phaser.GameObjects.Components.BlendMode
2525
* @extends Phaser.GameObjects.Components.ComputedSize
2626
* @extends Phaser.GameObjects.Components.Depth
@@ -41,7 +41,7 @@ var Shape = new Class({
4141
Extends: GameObject,
4242

4343
Mixins: [
44-
Components.Alpha,
44+
Components.AlphaSingle,
4545
Components.BlendMode,
4646
Components.ComputedSize,
4747
Components.Depth,

0 commit comments

Comments
 (0)