mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +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
|
* @constructor
|
||||||
* @since 3.17.0
|
* @since 3.17.0
|
||||||
*
|
*
|
||||||
* @extends Phaser.GameObjects.Components.Alpha
|
* @extends Phaser.GameObjects.Components.AlphaSingle
|
||||||
* @extends Phaser.GameObjects.Components.BlendMode
|
* @extends Phaser.GameObjects.Components.BlendMode
|
||||||
* @extends Phaser.GameObjects.Components.Depth
|
* @extends Phaser.GameObjects.Components.Depth
|
||||||
* @extends Phaser.GameObjects.Components.Origin
|
* @extends Phaser.GameObjects.Components.Origin
|
||||||
|
@ -92,7 +92,7 @@ var DOMElement = new Class({
|
||||||
Extends: GameObject,
|
Extends: GameObject,
|
||||||
|
|
||||||
Mixins: [
|
Mixins: [
|
||||||
Components.Alpha,
|
Components.AlphaSingle,
|
||||||
Components.BlendMode,
|
Components.BlendMode,
|
||||||
Components.Depth,
|
Components.Depth,
|
||||||
Components.Origin,
|
Components.Origin,
|
||||||
|
|
Loading…
Add table
Reference in a new issue