Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
veloce committed Jul 16, 2024
1 parent a6a9572 commit ba70c8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/src/widgets/board.dart
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,9 @@ class _BoardState extends State<Board> {

if (_currentPointerDownEvent == null ||
_currentPointerDownEvent!.pointer != details.pointer ||
widget.settings.pieceShiftMethod == PieceShiftMethod.tapTwoSquares)
widget.settings.pieceShiftMethod == PieceShiftMethod.tapTwoSquares) {
return;
}

final distance =
(details.position - _currentPointerDownEvent!.position).distance;
Expand Down

0 comments on commit ba70c8a

Please sign in to comment.