mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 07:04:31 +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 = {
|
||||
|
||||
/**
|
||||
* A landscape orientation.
|
||||
* The primary landscape orientation.
|
||||
*
|
||||
* @name Phaser.Scale.Orientation.LANDSCAPE
|
||||
* @type {string}
|
||||
|
@ -35,13 +35,33 @@ module.exports = {
|
|||
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
|
||||
* @type {string}
|
||||
* @const
|
||||
* @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…
Reference in a new issue