Skip to content

Commit b5ed332

Browse files
committed
Merge pull request phaserjs#1316 from pnstickne/wip-1306
ScaleManager - orientation updates/fixes
2 parents 52a39cd + cf3bebd commit b5ed332

3 files changed

Lines changed: 264 additions & 147 deletions

File tree

src/core/Game.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,9 @@ Phaser.Game.prototype = {
798798
}
799799
else
800800
{
801+
// Scaling and device orientation changes are still reflected when paused.
802+
this.scale.pauseUpdate();
803+
801804
this.state.pauseUpdate();
802805

803806
if (this.config['enableDebug'])

0 commit comments

Comments
 (0)