We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e92c13 commit 37e0efeCopy full SHA for 37e0efe
1 file changed
src/core/ScaleManager.js
@@ -1209,18 +1209,6 @@ Phaser.ScaleManager.prototype = {
1209
var changed = previousOrientation !== this.screenOrientation;
1210
var correctnessChanged = previouslyIncorrect !== this.incorrectOrientation;
1211
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
-
1224
if (correctnessChanged)
1225
{
1226
if (this.incorrectOrientation)
0 commit comments