We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16b8d22 + a1fb05d commit f584097Copy full SHA for f584097
lib/src/model/study/study_controller.dart
@@ -139,7 +139,12 @@ class StudyController extends _$StudyController
139
isOnMainline: true,
140
root: null,
141
currentNode: StudyCurrentNode.illegalPosition(),
142
- evaluationContext: EvaluationContext(variant: variant, initialPosition: _root.position),
+ // EvaluationContext needs an initial posiiton, but it doesn't matter what we pass here,
143
+ // since the position is illegal and `isComputerAnalysisAllowed` is false anyway.
144
+ evaluationContext: EvaluationContext(
145
+ variant: variant,
146
+ initialPosition: study.chapter.setup.variant.initialPosition,
147
+ ),
148
pgnRootComments: rootComments,
149
pov: orientation,
150
isComputerAnalysisAllowed: false,
0 commit comments