From 37e0efefe365e24632ba42d880094a813cbfe9ac Mon Sep 17 00:00:00 2001 From: spayton Date: Fri, 10 Jul 2015 14:42:17 +0100 Subject: [PATCH] Removed use of deprecated signals (enterLandscape & enterPortrait) --- src/core/ScaleManager.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/core/ScaleManager.js b/src/core/ScaleManager.js index 9960fe5e5..ddad5300e 100644 --- a/src/core/ScaleManager.js +++ b/src/core/ScaleManager.js @@ -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)