From 18d4c33bdaa437adc8875700c55633628c923a20 Mon Sep 17 00:00:00 2001 From: ntr Date: Sat, 15 Dec 2018 11:00:12 +1100 Subject: [PATCH] resize fix --- client/src/scenes/cryps.js | 2 +- server/WORKLOG.md | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/client/src/scenes/cryps.js b/client/src/scenes/cryps.js index 308ef332..aad27933 100644 --- a/client/src/scenes/cryps.js +++ b/client/src/scenes/cryps.js @@ -30,7 +30,7 @@ function renderCryps() { function resize() { const canvas = document.querySelector('canvas'); - if (!canvas) return false; + if (!canvas) return setTimeout(resize, 50); const windowWidth = window.innerWidth; const windowHeight = window.innerHeight; diff --git a/server/WORKLOG.md b/server/WORKLOG.md index fa64d172..d76b00d6 100644 --- a/server/WORKLOG.md +++ b/server/WORKLOG.md @@ -5,6 +5,14 @@ # WORK WORK +broken skills +parry +strangle + +* tutorial + +* demo registration + * handle unserializable cryps * Global rolls