Closed rexrainbow closed 5 months ago
Hi @rexrainbow. Thank you for submitting this feature request.
We have implemented:
landscape-secondary
and portrait-secondary
orientation change eventsscreen.orientation
change
eventThese updates have been pushed to the master
branch and will be part of the next release. Do test it out at your convenience.
Version
Description
4 results (portrait-primary, landscape-primary, portrait-secondary, landscape-secondary) returned when orientation-changed. However, phaser3 engine tests
isPortrait
,isLandscape
with'portrait-primary'
,'landscape-primary'
only (ref) Thus it will miss'portrait-secondary'
,'landscape-secondary'
. In these orientation states,isPortrait
,isLandscape
are returnfalse
.Test code, rotate mobile device to change orientation