File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1176,6 +1176,10 @@ Phaser.ScaleManager.prototype = {
11761176 * Force the game to run in only one orientation.
11771177 *
11781178 * This enables generation of incorrect orientation signals and affects resizing but does not otherwise rotate or lock the orientation.
1179+ *
1180+ * Orientation checks are performed via the Screen Orientation API, if available in browser. This means it will check your monitor
1181+ * orientation on desktop, or your device orientation on mobile, rather than comparing actual game dimensions. If you need to check the
1182+ * viewport dimensions instead and bypass the Screen Orientation API then set: `ScaleManager.compatibility.orientationFallback = 'viewport'`
11791183 *
11801184 * @method Phaser.ScaleManager#forceOrientation
11811185 * @public
You can’t perform that action at this time.
0 commit comments