From bd572575c663aedad54521c87596da96373067bd Mon Sep 17 00:00:00 2001 From: ntr Date: Fri, 3 May 2019 18:45:24 +1000 Subject: [PATCH] remove test game --- client/cryps.css | 3 ++- client/src/components/skill.btn.jsx | 1 - client/src/main.jsx | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/cryps.css b/client/cryps.css index 99c6f817..575c936e 100644 --- a/client/cryps.css +++ b/client/cryps.css @@ -727,7 +727,7 @@ table td svg { } .game-cryp button { - color: #333333; + color: #888; flex: 1 1 100%; font-size: 16pt; padding: 0; @@ -742,6 +742,7 @@ table td svg { .game-cryp button[disabled] { color: #333333; font-size: 14pt; + text-decoration: line-through } .game-cryp button:hover { diff --git a/client/src/components/skill.btn.jsx b/client/src/components/skill.btn.jsx index 885f6e73..788a0d39 100644 --- a/client/src/components/skill.btn.jsx +++ b/client/src/components/skill.btn.jsx @@ -44,7 +44,6 @@ function Skill(props) { ); } diff --git a/client/src/main.jsx b/client/src/main.jsx index ad6a5f08..8018fe1f 100644 --- a/client/src/main.jsx +++ b/client/src/main.jsx @@ -9,7 +9,7 @@ const actions = require('./actions'); const setupKeys = require('./keyboard'); const createSocket = require('./socket'); const registerEvents = require('./events'); -const testGame = require('./test.game'); +// const testGame = require('./test.game'); const Header = require('./components/header.container'); const Body = require('./components/body.component'); @@ -46,8 +46,8 @@ document.fonts.load('16pt "Jura"').then(() => { store.dispatch(actions.setWs(ws)); ws.connect(); - events.setGame(testGame); - ws.clearGameStateTimeout(); + // events.setGame(testGame); + // ws.clearGameStateTimeout(); // tells jdenticon to look for new svgs and render them // so we don't have to setInnerHtml or manually call update