Skip to content

Commit

Permalink
Fix pgn view comment jitter
Browse files Browse the repository at this point in the history
Fixes #1206
  • Loading branch information
veloce committed Dec 7, 2024
1 parent 4129b12 commit 64daba1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/src/widgets/pgn.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 64daba1

Please sign in to comment.