Skip to content

Commit

Permalink
flutter: Fix piece shadow color from white to black
Browse files Browse the repository at this point in the history
  • Loading branch information
calcitem committed May 23, 2021
1 parent afabbf0 commit 33be417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/flutter_app/lib/painting/pieces_painter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class PiecesPainter extends PiecesBasePainter {
}

// Draw shadow of piece
canvas.drawShadow(shadowPath, Colors.white, 2, true);
canvas.drawShadow(shadowPath, Colors.black, 2, true);

paint.style = PaintingStyle.fill;

Expand Down

0 comments on commit 33be417

Please sign in to comment.