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.
1 parent d5b41b1 commit f3caa9fCopy full SHA for f3caa9f
lib/src/widgets/pgn.dart
@@ -1238,8 +1238,13 @@ class InlineMove extends ConsumerWidget {
1238
: null)
1239
: null;
1240
1241
+ // In some crazyhouse PGNs (e.g. lichess studies), pawn drops include the `P` prefix,
1242
+ // but we don't want to display it in the move list.
1243
+ final san = branch.sanMove.san.startsWith('P')
1244
+ ? branch.sanMove.san.substring(1)
1245
+ : branch.sanMove.san;
1246
final moveWithNag =
- branch.sanMove.san +
1247
+ san +
1248
(branch.nags != null && params.shouldShowAnnotations
1249
? moveAnnotationChar(branch.nags!)
1250
: '');
0 commit comments