projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some fixes, draw lines on board, add 7 variants
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
e309c5d
..
70a304b
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-55,7
+55,7
@@
div#baseGame
@showrules="showRules"
@analyze="toggleAnalyze"
@goto-move="gotoMove"
@showrules="showRules"
@analyze="toggleAnalyze"
@goto-move="gotoMove"
- @re
set-arrows="resetArrows
"
+ @re
draw-board="redrawBoard
"
)
.clearer
</template>
)
.clearer
</template>
@@
-200,9
+200,8
@@
export default {
if (e.deltaY < 0) this.undo();
else if (e.deltaY > 0) this.play();
},
if (e.deltaY < 0) this.undo();
else if (e.deltaY > 0) this.play();
},
- resetArrows: function() {
- // TODO: make arrows scale with board, and remove this
- this.$refs["board"].cancelResetArrows();
+ redrawBoard: function() {
+ this.$refs["board"].re_setDrawings();
},
showRules: function() {
// The button is here only on Game page:
},
showRules: function() {
// The button is here only on Game page: