This commit is contained in:
garrettdreyfus 2014-05-24 14:38:36 -04:00
commit ae13307b64
2 changed files with 5 additions and 5 deletions

View file

@ -15,7 +15,7 @@
body { body {
color: #ecf0f1; color: #ecf0f1;
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
background-color:#ecf0f1; background-color:#ecf0f1;
} }
#clickToExit { #clickToExit {
@ -27,14 +27,14 @@
left: calc(50% - 80vmin / 2); left: calc(50% - 80vmin / 2);
height: 80vmin; height: 80vmin;
width: 80vmin; width: 80vmin;
background-color:#ecf0f1; background-color:#ecf0f1;
z-index:3; z-index:3;
} }
#title { #title {
z-index:99999; z-index:99999;
margin-top:20px; margin-top:20px;
color:#2c3e50; color:#2c3e50;
} }
</style> </style>
</head> </head>

View file

@ -197,10 +197,10 @@ function render() {
function stepInitialLoad() { function stepInitialLoad() {
var dur = 1300; var dur = 1300;
var dy = getStepDY(Date.now() - startTime, 0, 100 + canvas.height/2, dur); var dy = getStepDY(Date.now() - startTime, 0, 100 + canvas.originalHeight/2, dur);
if (Date.now() - startTime > dur) { if (Date.now() - startTime > dur) {
MainClock.dy = 0; MainClock.dy = 0;
MainClock.y = canvas.height/2; MainClock.y = canvas.originalHeight/2;
gameState = 1; gameState = 1;
} else { } else {
MainClock.dy = dy; MainClock.dy = dy;