mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 22:18:29 +00:00
Update ORIENTATION_CONST.js
Added secondary landscape orientation. Added secondary portrait orientation.
This commit is contained in:
parent
c2e849eb96
commit
0951a4a3d4
1 changed files with 23 additions and 3 deletions
|
@ -25,7 +25,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A landscape orientation.
|
* The primary landscape orientation.
|
||||||
*
|
*
|
||||||
* @name Phaser.Scale.Orientation.LANDSCAPE
|
* @name Phaser.Scale.Orientation.LANDSCAPE
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -35,13 +35,33 @@ module.exports = {
|
||||||
LANDSCAPE: 'landscape-primary',
|
LANDSCAPE: 'landscape-primary',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A portrait orientation.
|
* The secondary landscape orientation.
|
||||||
|
*
|
||||||
|
* @name Phaser.Scale.Orientation.LANDSCAPE_SECONDARY
|
||||||
|
* @type {string}
|
||||||
|
* @const
|
||||||
|
* @since 3.85.0
|
||||||
|
*/
|
||||||
|
LANDSCAPE_SECONDARY: 'landscape-secondary',
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The primary portrait orientation.
|
||||||
*
|
*
|
||||||
* @name Phaser.Scale.Orientation.PORTRAIT
|
* @name Phaser.Scale.Orientation.PORTRAIT
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @const
|
* @const
|
||||||
* @since 3.16.0
|
* @since 3.16.0
|
||||||
*/
|
*/
|
||||||
PORTRAIT: 'portrait-primary'
|
PORTRAIT: 'portrait-primary',
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The secondary portrait orientation.
|
||||||
|
*
|
||||||
|
* @name Phaser.Scale.Orientation.PORTRAIT_SECONDARY
|
||||||
|
* @type {string}
|
||||||
|
* @const
|
||||||
|
* @since 3.16.0
|
||||||
|
*/
|
||||||
|
PORTRAIT_SECONDARY: 'portrait-secondary'
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue