From 64daba1249d45a4bd654edbfe568ee2153b60eb9 Mon Sep 17 00:00:00 2001 From: Vincent Velociter Date: Sat, 7 Dec 2024 11:23:09 +0100 Subject: [PATCH] Fix pgn view comment jitter Fixes #1206 --- lib/src/widgets/pgn.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/src/widgets/pgn.dart b/lib/src/widgets/pgn.dart index 0cd4f75812..bee99a263d 100644 --- a/lib/src/widgets/pgn.dart +++ b/lib/src/widgets/pgn.dart @@ -1079,11 +1079,9 @@ class InlineMove extends ConsumerWidget { final moveTextStyle = textStyle.copyWith( fontFamily: moveFontFamily, - fontWeight: isCurrentMove - ? FontWeight.bold - : lineInfo.type == _LineType.inlineSideline - ? FontWeight.normal - : FontWeight.w600, + fontWeight: lineInfo.type == _LineType.inlineSideline + ? FontWeight.normal + : FontWeight.w600, ); final indexTextStyle = textStyle.copyWith(