From 34def0ce0831b33fe6a0b3813d23c5311a6a4798 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Tue, 2 Jun 2015 14:23:12 +0200 Subject: [PATCH] Corrected tutorial --- js/prototype/TutorialSteps.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/prototype/TutorialSteps.js b/js/prototype/TutorialSteps.js index 2192530..d4edc6a 100644 --- a/js/prototype/TutorialSteps.js +++ b/js/prototype/TutorialSteps.js @@ -4,7 +4,6 @@ var TutorialSteps = function(tutoCamera, scene, onWindowResize, container_size) this.step = 0; this.coins = 0; this.camera.allowed = {}; - this.camera.allowed.keyboardTranslate = true; this.onWindowResize = onWindowResize; this.container_size = container_size; @@ -117,9 +116,9 @@ TutorialSteps.prototype.nextStep = function() { break; case 7: this.camera.move(this.camera.resetElements); - this.camera.allowed.keyboardTranslate = true; break; case 8: + this.camera.allowed.keyboardTranslate = true; coins.push(new Coin(2.7378029903574026,2.953347730618792,-11.550836282321221, callback)); coins[coins.length-1].addToScene(this.scene); break;