mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
The DOMElement
Game Object now uses the AlphaSingle component, allowing you to uniformly set the alpha of the element, rather than a quad alpha, which never worked for these objects.
This commit is contained in:
parent
e6464f6ad3
commit
6ffdacc959
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ var Vector4 = require('../../math/Vector4');
|
|||
* @constructor
|
||||
* @since 3.17.0
|
||||
*
|
||||
* @extends Phaser.GameObjects.Components.Alpha
|
||||
* @extends Phaser.GameObjects.Components.AlphaSingle
|
||||
* @extends Phaser.GameObjects.Components.BlendMode
|
||||
* @extends Phaser.GameObjects.Components.Depth
|
||||
* @extends Phaser.GameObjects.Components.Origin
|
||||
|
@ -92,7 +92,7 @@ var DOMElement = new Class({
|
|||
Extends: GameObject,
|
||||
|
||||
Mixins: [
|
||||
Components.Alpha,
|
||||
Components.AlphaSingle,
|
||||
Components.BlendMode,
|
||||
Components.Depth,
|
||||
Components.Origin,
|
||||
|
|
Loading…
Reference in a new issue