Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/scale/ScaleManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -1542,9 +1542,16 @@ var ScaleManager = new Class({
{
_this.updateBounds();

// --- FIX START ---
// Recalculate parent container size and force Phaser to resize.
_this.getParentBounds();
_this.refresh();
// --- FIX END ---

_this.dirty = true;
};


// Only dispatched on mobile devices
if (screen.orientation && screen.orientation.addEventListener)
{
Expand Down