diff --git a/index.html b/index.html index c263833..378dadd 100644 --- a/index.html +++ b/index.html @@ -63,7 +63,7 @@ .shipwrapper { margin-left: 20%; - width: 80%; + width: 60%; position: relative; } #shiptrail { @@ -170,8 +170,8 @@

released at Revision 2017

var wrapper = document.querySelector('#wrapper'); var startButton = document.querySelector('#start-button'); ONPROGRESS = function(progress) { - ninship.style.left = (20 + (+progress * 60 | 0) / 100) + '%'; - shiptrail.style.width = ((progress * 60 | 0) / 100) + '%'; + ninship.style.left = ((+progress * 100 | 0) / 100) + '%'; + shiptrail.style.width = ((progress * 100 | 0) / 100) + '%'; }; ONCOMPLETE = function() {