Return to the Change Log index.
ScaleManager.getViewPortis a new method that will return a Rectangle geometry object that matches the visible area of the screen, or the given Camera instance (thanks @rexrainbow)
ScaleManager.listenershas been renamed todomlistenersto avoid conflicting with the EventEmitter listeners object. Fix #6260 (thanks @x-wk)
ScaleManager.getParentBoundswill now also check to see if the canvas bounds have changed x or y position, and if so returntrue, causing the Scale Manager to refresh all of its internal cached values. This fixes an issue where the canvas may have changed position on the page, but not its width or height, so a refresh wasn't triggered. Fix #5884 (thanks @jameswilddev)- Setting
scale.modein the Game Config would be ignored. It now accepts either this, orscaleModedirectly. Fix #5970 (thanks @samme)
Return to the Change Log index.
📖 Read the Phaser 3 API Docs 💻 Browse 2000+ Code Examples 🤝 Join the awesome Phaser Discord