From a231dd8a770cf2b143448631da092a8ddf9f1241 Mon Sep 17 00:00:00 2001 From: Garrett Finucane Date: Tue, 1 Jul 2014 11:18:13 -0400 Subject: [PATCH] unhid all the buttons --- js/Clock.js | 2 +- js/main.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/js/Clock.js b/js/Clock.js index c38a7a7..70d3dc0 100644 --- a/js/Clock.js +++ b/js/Clock.js @@ -101,7 +101,7 @@ function Clock(sideLength) { }; this.rotate = function(steps) { - if (!(gameState === 1 || gameState === 0) && gameState !== -2) return; + if (!(gameState === 1 || gameState === 0)) return; this.position += steps; if (!history[count]) { history[count] = {}; diff --git a/js/main.js b/js/main.js index 0660be8..32ad353 100644 --- a/js/main.js +++ b/js/main.js @@ -179,6 +179,8 @@ function init(b) { op = 0; scoreOpacity = 0; gameState = 1; + $("#restartBtn").show(); + $("#pauseBtn").show(); if(saveState.clock !== undefined) gameState = 1; scaleCanvas();