Skip to content

Commit 37e0efe

Browse files
committed
Removed use of deprecated signals (enterLandscape & enterPortrait)
1 parent 8e92c13 commit 37e0efe

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/core/ScaleManager.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,18 +1209,6 @@ Phaser.ScaleManager.prototype = {
12091209
var changed = previousOrientation !== this.screenOrientation;
12101210
var correctnessChanged = previouslyIncorrect !== this.incorrectOrientation;
12111211

1212-
if (changed)
1213-
{
1214-
if (this.isLandscape)
1215-
{
1216-
this.enterLandscape.dispatch(this.orientation, true, false);
1217-
}
1218-
else
1219-
{
1220-
this.enterPortrait.dispatch(this.orientation, false, true);
1221-
}
1222-
}
1223-
12241212
if (correctnessChanged)
12251213
{
12261214
if (this.incorrectOrientation)

0 commit comments

Comments
 (0)