mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Removed use of deprecated signals (enterLandscape & enterPortrait)
This commit is contained in:
parent
8e92c13412
commit
37e0efefe3
1 changed files with 0 additions and 12 deletions
|
@ -1209,18 +1209,6 @@ Phaser.ScaleManager.prototype = {
|
|||
var changed = previousOrientation !== this.screenOrientation;
|
||||
var correctnessChanged = previouslyIncorrect !== this.incorrectOrientation;
|
||||
|
||||
if (changed)
|
||||
{
|
||||
if (this.isLandscape)
|
||||
{
|
||||
this.enterLandscape.dispatch(this.orientation, true, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.enterPortrait.dispatch(this.orientation, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
if (correctnessChanged)
|
||||
{
|
||||
if (this.incorrectOrientation)
|
||||
|
|
Loading…
Reference in a new issue