Merge pull request #9264 from benediktwerner/show-ceval-arrow-instead-of-seveal
Prefer ceval arrow over server eval
This commit is contained in:
commit
7fdafaa6a2
|
@ -69,8 +69,7 @@ export function compute(ctrl: AnalyseCtrl): DrawShape[] {
|
||||||
if (ctrl.showAutoShapes() && ctrl.showComputer()) {
|
if (ctrl.showAutoShapes() && ctrl.showComputer()) {
|
||||||
if (nEval.best) shapes = shapes.concat(makeShapesFromUci(rcolor, nEval.best, 'paleGreen'));
|
if (nEval.best) shapes = shapes.concat(makeShapesFromUci(rcolor, nEval.best, 'paleGreen'));
|
||||||
if (!hovering && parseInt(instance.multiPv())) {
|
if (!hovering && parseInt(instance.multiPv())) {
|
||||||
let nextBest = ctrl.nextNodeBest();
|
const nextBest = instance.enabled() && nCeval ? nCeval.pvs[0].moves[0] : ctrl.nextNodeBest();
|
||||||
if (!nextBest && instance.enabled() && nCeval) nextBest = nCeval.pvs[0].moves[0];
|
|
||||||
if (nextBest) shapes = shapes.concat(makeShapesFromUci(color, nextBest, 'paleBlue'));
|
if (nextBest) shapes = shapes.concat(makeShapesFromUci(color, nextBest, 'paleBlue'));
|
||||||
if (instance.enabled() && nCeval && nCeval.pvs[1] && !(ctrl.threatMode() && nThreat && nThreat.pvs.length > 2)) {
|
if (instance.enabled() && nCeval && nCeval.pvs[1] && !(ctrl.threatMode() && nThreat && nThreat.pvs.length > 2)) {
|
||||||
nCeval.pvs.forEach(function (pv) {
|
nCeval.pvs.forEach(function (pv) {
|
||||||
|
|
Loading…
Reference in a new issue