projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some changes to the logic in Rules.vue: weird behavior, TODO
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
3b15742
..
f10420d
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-59,6
+59,9
@@
export default {
"game.fenStart": function() {
this.re_setVariables();
},
"game.fenStart": function() {
this.re_setVariables();
},
+ "game.score": function() {
+ this.score = this.game.score;
+ },
},
computed: {
showMoves: function() {
},
computed: {
showMoves: function() {
@@
-69,7
+72,7
@@
export default {
return this.game.vname != "Dark" || this.score != "*";
},
analyze: function() {
return this.game.vname != "Dark" || this.score != "*";
},
analyze: function() {
- return this.game.mode == "analyze" || this.
game.
score != "*";
+ return this.game.mode == "analyze" || this.score != "*";
},
},
created: function() {
},
},
created: function() {