fix analysis eval gauge orientation
This commit is contained in:
parent
bb5499f465
commit
e1b4f74ac7
|
@ -10,7 +10,7 @@ net {
|
|||
ip = "5.196.91.160"
|
||||
asset {
|
||||
domain = ${net.domain}
|
||||
version = 1724
|
||||
version = 1728
|
||||
}
|
||||
email = "contact@lichess.org"
|
||||
crawlable = false
|
||||
|
|
|
@ -119,9 +119,7 @@ module.exports = function(opts) {
|
|||
this.bottomColor = function() {
|
||||
return this.vm.flip ? opposite(this.data.orientation) : this.data.orientation;
|
||||
}.bind(this);
|
||||
this.getOrientation = function() {
|
||||
return this.data.orientation;
|
||||
}.bind(this);
|
||||
this.getOrientation = this.bottomColor; // required by ui/ceval
|
||||
|
||||
this.turnColor = function() {
|
||||
return this.vm.node.ply % 2 === 0 ? 'white' : 'black';
|
||||
|
|
Loading…
Reference in a new issue