Add comment about clock update in Game.vue
authorBenjamin Auder <benjamin.auder@somewhere>
Mon, 11 May 2020 22:09:44 +0000 (00:09 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Mon, 11 May 2020 22:09:44 +0000 (00:09 +0200)
client/src/views/Game.vue

index 4afac12..6722f33 100644 (file)
@@ -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: "",