projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Smaller margin for endGame message
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
ccf9d73
..
fdbd2c3
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-274,6
+274,9
@@
export default {
fen = mv[mv.length-1].fen;
}
this.vr = new V(fen);
fen = mv[mv.length-1].fen;
}
this.vr = new V(fen);
+ this.incheck = this.vr.getCheckSquares();
+ if (this.cursor >= 0) this.lastMove = this.moves[this.cursor];
+ else this.lastMove = null;
document.getElementById("analyzeBtn").classList.remove("active");
}
},
document.getElementById("analyzeBtn").classList.remove("active");
}
},
@@
-657,6
+660,7
@@
export default {
<style lang="sass" scoped>
[type="checkbox"]#modalEog+div .card
min-height: 45px
<style lang="sass" scoped>
[type="checkbox"]#modalEog+div .card
min-height: 45px
+ max-width: 350px
#baseGame
width: 100%
#baseGame
width: 100%