projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix issue with animation of some hidden moves (Screen)
[vchess.git]
/
client
/
src
/
variants
/
Screen.js
diff --git
a/client/src/variants/Screen.js
b/client/src/variants/Screen.js
index
0a8a75e
..
7ccb5a5
100644
(file)
--- a/
client/src/variants/Screen.js
+++ b/
client/src/variants/Screen.js
@@
-12,10
+12,6
@@
export class ScreenRules extends ChessRules {
return false;
}
return false;
}
- get showFirstTurn() {
- return true;
- }
-
get canAnalyze() {
return this.movesCount >= 2;
}
get canAnalyze() {
return this.movesCount >= 2;
}
@@
-65,7
+61,7
@@
export class ScreenRules extends ChessRules {
for (let i=0; i<4; i++) {
for (let j=0; j<8; j++) this.enlightened['b'][i][j] = true;
}
for (let i=0; i<4; i++) {
for (let j=0; j<8; j++) this.enlightened['b'][i][j] = true;
}
- for (let i=
5
; i<8; i++) {
+ for (let i=
4
; i<8; i++) {
for (let j=0; j<8; j++) this.enlightened['w'][i][j] = true;
}
}
for (let j=0; j<8; j++) this.enlightened['w'][i][j] = true;
}
}