This commit is contained in:
Thomas FORGIONE 2015-05-28 15:13:38 +02:00
parent 7f6daec0f4
commit aa77d182fd
3 changed files with 5 additions and 14 deletions

View File

@ -48,11 +48,12 @@ ReplayCamera.prototype.update = function(time) {
this.linearMotion(time / 5);
} else if (this.event.type == 'arrow') {
this.hermiteMotion(time);
} else if (this.event.type == 'coin') {
// Nothing to do
} else if (this.event.type == 'reset') {
// Nothing to do
}
// } else if (this.event.type == 'coin') {
// // Nothing to do
// } else if (this.event.type == 'reset') {
// // Nothing to do
// }
}
}

View File

@ -19,11 +19,6 @@ var isFullscreen = false;
var previousTime;
var main_section = document.getElementById('main-section');
var offset = function() {
return
document.getElementById('nav').offsetHeight
+ document.getElementById('main-div').offsetHeight;
}
console.log(document.getElementById('main-div').offsetHeight);
var container_size = {

View File

@ -19,11 +19,6 @@ var previousTime;
var tutorial;
var main_section = document.getElementById('main-section');
var offset = function() {
return
document.getElementById('nav').offsetHeight
+ document.getElementById('main-div').offsetHeight;
}
console.log(document.getElementById('main-div').offsetHeight);
var container_size = {