fix analysis of long games is always partial (fixes #10223)
parent
759626efea
commit
4ee19711c9
|
@ -794,7 +794,8 @@ export default class AnalyseCtrl {
|
|||
this.tree.merge(data.tree);
|
||||
if (!this.showComputer()) this.tree.removeComputerVariations();
|
||||
this.data.analysis = data.analysis;
|
||||
if (data.analysis) data.analysis.partial = !!treeOps.findInMainline(data.tree, n => !n.eval && !!n.children.length);
|
||||
if (data.analysis)
|
||||
data.analysis.partial = !!treeOps.findInMainline(data.tree, n => !n.eval && !!n.children.length && n.ply <= 200);
|
||||
if (data.division) this.data.game.division = data.division;
|
||||
if (this.retro) this.retro.onMergeAnalysisData();
|
||||
if (this.study) this.study.serverEval.onMergeAnalysisData();
|
||||
|
|
Loading…
Reference in New Issue