Skip to content

Commit

Permalink
Merge pull request #52 from xrusu/fix-scratcher-not-showing-on-ios
Browse files Browse the repository at this point in the history
fixed scratches not being shown on ios
  • Loading branch information
vintage authored Sep 7, 2023
2 parents 78e482f + 8ce85eb commit 8f68c21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/painter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ class ScratchPainter extends CustomPainter {
Paint _getMainPaint(double strokeWidth) {
final paint = Paint()
..strokeCap = StrokeCap.round
..color = Colors.transparent
..color = Colors.white
..strokeWidth = strokeWidth
..blendMode = BlendMode.src
..blendMode = BlendMode.clear
..strokeJoin = StrokeJoin.round
..style = PaintingStyle.stroke;

Expand Down

0 comments on commit 8f68c21

Please sign in to comment.