From: Benjamin Auder <benjamin.auder@somewhere>
Date: Mon, 11 May 2020 22:09:44 +0000 (+0200)
Subject: Add comment about clock update in Game.vue
X-Git-Url: https://git.auder.net/js/doc/%7B%7B%20path('fos_user_registration_register')%20%7D%7D?a=commitdiff_plain;h=d060d8cb355367f3cd9533c9ad37552802090502;p=vchess.git

Add comment about clock update in Game.vue
---

diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue
index 4afac12d..6722f334 100644
--- a/client/src/views/Game.vue
+++ b/client/src/views/Game.vue
@@ -213,6 +213,7 @@ export default {
       game: {}, //passed to BaseGame
       focus: !document.hidden, //will not always work... TODO
       // virtualClocks will be initialized from true game.clocks
+      // TODO: clock update triggers re-rendering. Should be out of Vue
       virtualClocks: [],
       vr: null, //"variant rules" object initialized from FEN
       rulesContent: "",