Update ORIENTATION_CONST.js

Added secondary landscape orientation.
Added secondary portrait orientation.
This commit is contained in:
Zeke Chan 2024-06-18 15:53:49 +08:00
parent c2e849eb96
commit 0951a4a3d4

View file

@ -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'
};