Skip to content

Commit

Permalink
fix: full opacity when texture
Browse files Browse the repository at this point in the history
  • Loading branch information
jvenin committed Apr 3, 2024
1 parent 1245cb5 commit 211a8c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/classes/model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ class Model {
textureCoordinates: data.textureCoordinates,
),
BlendMode.srcOver,
texture?.painter ?? _paint
..color = meshColor.withOpacity(0.3));
texture?.painter ?? (_paint..color = meshColor.withOpacity(0.3)));
}
}
}

0 comments on commit 211a8c6

Please sign in to comment.