projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d639b82
)
Add comment about clock update in Game.vue
author
Benjamin Auder
<benjamin.auder@somewhere>
Mon, 11 May 2020 22:09:44 +0000
(
00:09
+0200)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Mon, 11 May 2020 22:09:44 +0000
(
00:09
+0200)
client/src/views/Game.vue
patch
|
blob
|
blame
|
history
diff --git
a/client/src/views/Game.vue
b/client/src/views/Game.vue
index
4afac12
..
6722f33
100644
(file)
--- 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: "",